All Downloads are FREE. Search and download functionalities are using the official Maven repository.

annotations.me.snowdrop.applicationcrd.api.model.ImageSpecFluentImpl Maven / Gradle / Ivy

The newest version!
package me.snowdrop.applicationcrd.api.model;

import java.lang.StringBuffer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.lang.StringBuilder;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;

public class ImageSpecFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements ImageSpecFluent{

    private String size;
    private String src;
    private String type;

    public ImageSpecFluentImpl(){
    }
    public ImageSpecFluentImpl(ImageSpec instance){
            this.withSize(instance.getSize()); 
            this.withSrc(instance.getSrc()); 
            this.withType(instance.getType()); 
    }

    public String getSize(){
            return this.size;
    }

    public A withSize(String size){
            this.size=size; return (A) this;
    }

    public Boolean hasSize(){
            return this.size != null;
    }

    public A withNewSize(String arg1){
            return (A)withSize(new String(arg1));
    }

    public A withNewSize(StringBuilder arg1){
            return (A)withSize(new String(arg1));
    }

    public A withNewSize(StringBuffer arg1){
            return (A)withSize(new String(arg1));
    }

    public String getSrc(){
            return this.src;
    }

    public A withSrc(String src){
            this.src=src; return (A) this;
    }

    public Boolean hasSrc(){
            return this.src != null;
    }

    public A withNewSrc(String arg1){
            return (A)withSrc(new String(arg1));
    }

    public A withNewSrc(StringBuilder arg1){
            return (A)withSrc(new String(arg1));
    }

    public A withNewSrc(StringBuffer arg1){
            return (A)withSrc(new String(arg1));
    }

    public String getType(){
            return this.type;
    }

    public A withType(String type){
            this.type=type; return (A) this;
    }

    public Boolean hasType(){
            return this.type != null;
    }

    public A withNewType(String arg1){
            return (A)withType(new String(arg1));
    }

    public A withNewType(StringBuilder arg1){
            return (A)withType(new String(arg1));
    }

    public A withNewType(StringBuffer arg1){
            return (A)withType(new String(arg1));
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            if (!super.equals(o)) return false;
            ImageSpecFluentImpl that = (ImageSpecFluentImpl) o;
            if (size != null ? !size.equals(that.size) :that.size != null) return false;
            if (src != null ? !src.equals(that.src) :that.src != null) return false;
            if (type != null ? !type.equals(that.type) :that.type != null) return false;
            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy