infobip.api.model.Destination 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;
/**
* This is a generated class and is not intended for modification!
*/
public class Destination {
private String messageId;
private String to;
public Destination() {
}
public String getMessageId() {
return this.messageId;
}
public Destination setMessageId(String messageId) {
this.messageId = messageId;
return this;
}
public String getTo() {
return this.to;
}
public Destination setTo(String to) {
this.to = to;
return this;
}
@Override
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
Destination o = (Destination)obj;
if (this.messageId == null) {
if (o.messageId != null){
return false;
}
} else if (!this.messageId.equals(o.messageId)) {
return false;
}
if (this.to == null) {
if (o.to != null){
return false;
}
} else if (!this.to.equals(o.to)) {
return false;
}
return true;
}
@Override
public String toString() {
return "Destination{" +
"messageId='" + messageId + "'" +
", to='" + to + "'" +
'}';
}
}