com.docusign.esign.model.BulkSendErrorStatus Maven / Gradle / Ivy
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
/** BulkSendErrorStatus. */
public class BulkSendErrorStatus {
@JsonProperty("created")
private String created = null;
@JsonProperty("errorMessage")
private String errorMessage = null;
@JsonProperty("recipientEmails")
private java.util.List recipientEmails = null;
/**
* created.
*
* @return BulkSendErrorStatus
*/
public BulkSendErrorStatus created(String created) {
this.created = created;
return this;
}
/**
* .
*
* @return created
*/
@ApiModelProperty(value = "")
public String getCreated() {
return created;
}
/** setCreated. */
public void setCreated(String created) {
this.created = created;
}
/**
* errorMessage.
*
* @return BulkSendErrorStatus
*/
public BulkSendErrorStatus errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* .
*
* @return errorMessage
*/
@ApiModelProperty(value = "")
public String getErrorMessage() {
return errorMessage;
}
/** setErrorMessage. */
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
/**
* recipientEmails.
*
* @return BulkSendErrorStatus
*/
public BulkSendErrorStatus recipientEmails(java.util.List recipientEmails) {
this.recipientEmails = recipientEmails;
return this;
}
/**
* addRecipientEmailsItem.
*
* @return BulkSendErrorStatus
*/
public BulkSendErrorStatus addRecipientEmailsItem(String recipientEmailsItem) {
if (this.recipientEmails == null) {
this.recipientEmails = new java.util.ArrayList();
}
this.recipientEmails.add(recipientEmailsItem);
return this;
}
/**
* .
*
* @return recipientEmails
*/
@ApiModelProperty(value = "")
public java.util.List getRecipientEmails() {
return recipientEmails;
}
/** setRecipientEmails. */
public void setRecipientEmails(java.util.List recipientEmails) {
this.recipientEmails = recipientEmails;
}
/**
* Compares objects.
*
* @return true or false depending on comparison result.
*/
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BulkSendErrorStatus bulkSendErrorStatus = (BulkSendErrorStatus) o;
return Objects.equals(this.created, bulkSendErrorStatus.created)
&& Objects.equals(this.errorMessage, bulkSendErrorStatus.errorMessage)
&& Objects.equals(this.recipientEmails, bulkSendErrorStatus.recipientEmails);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(created, errorMessage, recipientEmails);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BulkSendErrorStatus {\n");
sb.append(" created: ").append(toIndentedString(created)).append("\n");
sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n");
sb.append(" recipientEmails: ").append(toIndentedString(recipientEmails)).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(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy