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

infobip.api.model.sms.mt.send.Language Maven / Gradle / Ivy

There is a newer version: 4.4.0
Show newest version
package infobip.api.model.sms.mt.send;

/**
 * This is a generated class and is not intended for modification!
 * TODO: Point to Github contribution instructions
 */
public class Language {
    private Boolean lockingShift;
    private Boolean singleShift;
    private String languageCode;

    public Language() {
    }


    public Boolean getLockingShift() {
        return this.lockingShift;
    }

    public Language setLockingShift(Boolean lockingShift) {
        this.lockingShift = lockingShift;
        return this;
    }


    public Boolean getSingleShift() {
        return this.singleShift;
    }

    public Language setSingleShift(Boolean singleShift) {
        this.singleShift = singleShift;
        return this;
    }


    public String getLanguageCode() {
        return this.languageCode;
    }

    public Language setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
        return this;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }

        Language o = (Language)obj;
        if (this.lockingShift == null) {
            if (o.lockingShift != null){
                return false;
            }
        } else if (!this.lockingShift.equals(o.lockingShift)) {
            return false;
        }
        if (this.singleShift == null) {
            if (o.singleShift != null){
                return false;
            }
        } else if (!this.singleShift.equals(o.singleShift)) {
            return false;
        }
        if (this.languageCode == null) {
            if (o.languageCode != null){
                return false;
            }
        } else if (!this.languageCode.equals(o.languageCode)) {
            return false;
        }

        return true;
    }

    @Override
    public String toString() {
        return "Language{" +
            "lockingShift='" + lockingShift + "'" +

            ", singleShift='" + singleShift + "'" +

            ", languageCode='" + languageCode + "'" +
            '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy