
com.infobip.model.EmailBulkRescheduleResponse 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/).
/*
* Infobip Client API Libraries OpenAPI Specification
* OpenAPI specification containing public endpoints supported in client API libraries.
*
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.infobip.model;
import com.google.gson.annotations.SerializedName;
import java.time.OffsetDateTime;
import java.util.Objects;
/** EmailBulkRescheduleResponse */
public class EmailBulkRescheduleResponse {
public static final String SERIALIZED_NAME_BULK_ID = "bulkId";
@SerializedName(SERIALIZED_NAME_BULK_ID)
private String bulkId;
public static final String SERIALIZED_NAME_SEND_AT = "sendAt";
@SerializedName(SERIALIZED_NAME_SEND_AT)
private OffsetDateTime sendAt;
public EmailBulkRescheduleResponse bulkId(String bulkId) {
this.bulkId = bulkId;
return this;
}
/**
* Get bulkId
*
* @return bulkId
*/
public String getBulkId() {
return bulkId;
}
public void setBulkId(String bulkId) {
this.bulkId = bulkId;
}
public EmailBulkRescheduleResponse sendAt(OffsetDateTime sendAt) {
this.sendAt = sendAt;
return this;
}
/**
* Get sendAt
*
* @return sendAt
*/
public OffsetDateTime getSendAt() {
return sendAt;
}
public void setSendAt(OffsetDateTime sendAt) {
this.sendAt = sendAt;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EmailBulkRescheduleResponse emailBulkRescheduleResponse = (EmailBulkRescheduleResponse) o;
return Objects.equals(this.bulkId, emailBulkRescheduleResponse.bulkId)
&& Objects.equals(this.sendAt, emailBulkRescheduleResponse.sendAt);
}
@Override
public int hashCode() {
return Objects.hash(bulkId, sendAt);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EmailBulkRescheduleResponse {\n");
sb.append(" bulkId: ").append(toIndentedString(bulkId)).append("\n");
sb.append(" sendAt: ").append(toIndentedString(sendAt)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy