infobip.api.model.sms.mt.send.Language Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infobip-api-java-client Show documentation
Show all versions of infobip-api-java-client Show documentation
API client in Java for Infobip's API (http://dev.infobip.com/).
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 + "'" +
'}';
}
}