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

io.alauda.kubernetes.api.model.I18nNameFluentImpl Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
package io.alauda.kubernetes.api.model;

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

public class I18nNameFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements I18nNameFluent{

    private String en;
    private String zhCN;

    public I18nNameFluentImpl(){
    }
    public I18nNameFluentImpl(I18nName instance){
            this.withEn(instance.getEn()); 
            this.withZhCN(instance.getZhCN()); 
    }

    public String getEn(){
            return this.en;
    }

    public A withEn(String en){
            this.en=en; return (A) this;
    }

    public Boolean hasEn(){
            return this.en!=null;
    }

    public String getZhCN(){
            return this.zhCN;
    }

    public A withZhCN(String zhCN){
            this.zhCN=zhCN; return (A) this;
    }

    public Boolean hasZhCN(){
            return this.zhCN!=null;
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            if (!super.equals(o)) return false;
            I18nNameFluentImpl that = (I18nNameFluentImpl) o;
            if (en != null ? !en.equals(that.en) :that.en != null) return false;
            if (zhCN != null ? !zhCN.equals(that.zhCN) :that.zhCN != null) return false;
            return true;
    }




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy