infobip.api.model.sms.mt.send.binary.SMSMultiBinaryRequest 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.binary;
import infobip.api.model.sms.mt.send.Message;
import java.util.List;
import java.util.ArrayList;
/**
* This is a generated class and is not intended for modification!
*/
public class SMSMultiBinaryRequest {
private List messages = new ArrayList<>();
private String bulkId;
public SMSMultiBinaryRequest() {
}
public List getMessages() {
return this.messages;
}
public SMSMultiBinaryRequest setMessages(List messages) {
this.messages = messages;
return this;
}
public String getBulkId() {
return this.bulkId;
}
public SMSMultiBinaryRequest setBulkId(String bulkId) {
this.bulkId = bulkId;
return this;
}
@Override
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
SMSMultiBinaryRequest o = (SMSMultiBinaryRequest)obj;
if (this.messages == null) {
if (o.messages != null){
return false;
}
} else if (!this.messages.equals(o.messages)) {
return false;
}
if (this.bulkId == null) {
if (o.bulkId != null){
return false;
}
} else if (!this.bulkId.equals(o.bulkId)) {
return false;
}
return true;
}
@Override
public String toString() {
return "SMSMultiBinaryRequest{" +
"messages='" + messages + "'" +
", bulkId='" + bulkId + "'" +
'}';
}
}