com.docusign.esign.model.ConnectLog Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docusign-esign-java Show documentation
Show all versions of docusign-esign-java Show documentation
The official Docusign eSignature JAVA client is based on version 2.1 of the Docusign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;
/** Contains information about a Connect log entry.. */
@Schema(description = "Contains information about a Connect log entry.")
public class ConnectLog {
@JsonProperty("accountId")
private String accountId = null;
@JsonProperty("configUrl")
private String configUrl = null;
@JsonProperty("connectDebugLog")
private java.util.List connectDebugLog = null;
@JsonProperty("connectId")
private String connectId = null;
@JsonProperty("created")
private String created = null;
@JsonProperty("email")
private String email = null;
@JsonProperty("envelopeId")
private String envelopeId = null;
@JsonProperty("error")
private String error = null;
@JsonProperty("failureId")
private String failureId = null;
@JsonProperty("failureUri")
private String failureUri = null;
@JsonProperty("lastTry")
private String lastTry = null;
@JsonProperty("logId")
private String logId = null;
@JsonProperty("logUri")
private String logUri = null;
@JsonProperty("retryCount")
private String retryCount = null;
@JsonProperty("retryUri")
private String retryUri = null;
@JsonProperty("status")
private String status = null;
@JsonProperty("subject")
private String subject = null;
@JsonProperty("userName")
private String userName = null;
/**
* accountId.
*
* @return ConnectLog
*/
public ConnectLog accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The account ID associated with the envelope..
*
* @return accountId
*/
@Schema(description = "The account ID associated with the envelope.")
public String getAccountId() {
return accountId;
}
/** setAccountId. */
public void setAccountId(String accountId) {
this.accountId = accountId;
}
/**
* configUrl.
*
* @return ConnectLog
*/
public ConnectLog configUrl(String configUrl) {
this.configUrl = configUrl;
return this;
}
/**
* The web address of the listener or Retrieving Service end point for Connect..
*
* @return configUrl
*/
@Schema(
description = "The web address of the listener or Retrieving Service end point for Connect.")
public String getConfigUrl() {
return configUrl;
}
/** setConfigUrl. */
public void setConfigUrl(String configUrl) {
this.configUrl = configUrl;
}
/**
* connectDebugLog.
*
* @return ConnectLog
*/
public ConnectLog connectDebugLog(java.util.List connectDebugLog) {
this.connectDebugLog = connectDebugLog;
return this;
}
/**
* addConnectDebugLogItem.
*
* @return ConnectLog
*/
public ConnectLog addConnectDebugLogItem(ConnectDebugLog connectDebugLogItem) {
if (this.connectDebugLog == null) {
this.connectDebugLog = new java.util.ArrayList<>();
}
this.connectDebugLog.add(connectDebugLogItem);
return this;
}
/**
* A complex element containing information about the Connect configuration, error details,
* date/time, description and payload. This is only included in the response if the query
* additional_info=true is used..
*
* @return connectDebugLog
*/
@Schema(
description =
"A complex element containing information about the Connect configuration, error details, date/time, description and payload. This is only included in the response if the query additional_info=true is used.")
public java.util.List getConnectDebugLog() {
return connectDebugLog;
}
/** setConnectDebugLog. */
public void setConnectDebugLog(java.util.List connectDebugLog) {
this.connectDebugLog = connectDebugLog;
}
/**
* connectId.
*
* @return ConnectLog
*/
public ConnectLog connectId(String connectId) {
this.connectId = connectId;
return this;
}
/**
* The identifier for the Connect configuration that failed. If an account has multiple Connect
* configurations, this value is used to look up the Connect configuration for the failed post..
*
* @return connectId
*/
@Schema(
description =
"The identifier for the Connect configuration that failed. If an account has multiple Connect configurations, this value is used to look up the Connect configuration for the failed post.")
public String getConnectId() {
return connectId;
}
/** setConnectId. */
public void setConnectId(String connectId) {
this.connectId = connectId;
}
/**
* created.
*
* @return ConnectLog
*/
public ConnectLog created(String created) {
this.created = created;
return this;
}
/**
* The date and time the entry was created..
*
* @return created
*/
@Schema(description = "The date and time the entry was created.")
public String getCreated() {
return created;
}
/** setCreated. */
public void setCreated(String created) {
this.created = created;
}
/**
* email.
*
* @return ConnectLog
*/
public ConnectLog email(String email) {
this.email = email;
return this;
}
/**
* The email that sent the envelope..
*
* @return email
*/
@Schema(description = "The email that sent the envelope.")
public String getEmail() {
return email;
}
/** setEmail. */
public void setEmail(String email) {
this.email = email;
}
/**
* envelopeId.
*
* @return ConnectLog
*/
public ConnectLog envelopeId(String envelopeId) {
this.envelopeId = envelopeId;
return this;
}
/**
* The envelope ID of the envelope status that failed to post..
*
* @return envelopeId
*/
@Schema(description = "The envelope ID of the envelope status that failed to post.")
public String getEnvelopeId() {
return envelopeId;
}
/** setEnvelopeId. */
public void setEnvelopeId(String envelopeId) {
this.envelopeId = envelopeId;
}
/**
* error.
*
* @return ConnectLog
*/
public ConnectLog error(String error) {
this.error = error;
return this;
}
/**
* The error that caused the Connect post to fail..
*
* @return error
*/
@Schema(description = "The error that caused the Connect post to fail.")
public String getError() {
return error;
}
/** setError. */
public void setError(String error) {
this.error = error;
}
/**
* failureId.
*
* @return ConnectLog
*/
public ConnectLog failureId(String failureId) {
this.failureId = failureId;
return this;
}
/**
* The failure log ID for the failure..
*
* @return failureId
*/
@Schema(description = "The failure log ID for the failure.")
public String getFailureId() {
return failureId;
}
/** setFailureId. */
public void setFailureId(String failureId) {
this.failureId = failureId;
}
/**
* failureUri.
*
* @return ConnectLog
*/
public ConnectLog failureUri(String failureUri) {
this.failureUri = failureUri;
return this;
}
/**
* The URI for the failure..
*
* @return failureUri
*/
@Schema(description = "The URI for the failure.")
public String getFailureUri() {
return failureUri;
}
/** setFailureUri. */
public void setFailureUri(String failureUri) {
this.failureUri = failureUri;
}
/**
* lastTry.
*
* @return ConnectLog
*/
public ConnectLog lastTry(String lastTry) {
this.lastTry = lastTry;
return this;
}
/**
* The date and time the last attempt to post..
*
* @return lastTry
*/
@Schema(description = "The date and time the last attempt to post.")
public String getLastTry() {
return lastTry;
}
/** setLastTry. */
public void setLastTry(String lastTry) {
this.lastTry = lastTry;
}
/**
* logId.
*
* @return ConnectLog
*/
public ConnectLog logId(String logId) {
this.logId = logId;
return this;
}
/**
* The Connect log ID for the entry..
*
* @return logId
*/
@Schema(description = "The Connect log ID for the entry.")
public String getLogId() {
return logId;
}
/** setLogId. */
public void setLogId(String logId) {
this.logId = logId;
}
/**
* logUri.
*
* @return ConnectLog
*/
public ConnectLog logUri(String logUri) {
this.logUri = logUri;
return this;
}
/**
* The URI for the log item..
*
* @return logUri
*/
@Schema(description = "The URI for the log item.")
public String getLogUri() {
return logUri;
}
/** setLogUri. */
public void setLogUri(String logUri) {
this.logUri = logUri;
}
/**
* retryCount.
*
* @return ConnectLog
*/
public ConnectLog retryCount(String retryCount) {
this.retryCount = retryCount;
return this;
}
/**
* The number of times the Connect post has been retried..
*
* @return retryCount
*/
@Schema(description = "The number of times the Connect post has been retried.")
public String getRetryCount() {
return retryCount;
}
/** setRetryCount. */
public void setRetryCount(String retryCount) {
this.retryCount = retryCount;
}
/**
* retryUri.
*
* @return ConnectLog
*/
public ConnectLog retryUri(String retryUri) {
this.retryUri = retryUri;
return this;
}
/**
* The UEI to retry to publish the Connect failure..
*
* @return retryUri
*/
@Schema(description = "The UEI to retry to publish the Connect failure.")
public String getRetryUri() {
return retryUri;
}
/** setRetryUri. */
public void setRetryUri(String retryUri) {
this.retryUri = retryUri;
}
/**
* status.
*
* @return ConnectLog
*/
public ConnectLog status(String status) {
this.status = status;
return this;
}
/**
* The new envelope status for the failed Connect post. The possible values are: Any, Voided,
* Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut, Template, or
* Processing..
*
* @return status
*/
@Schema(
description =
"The new envelope status for the failed Connect post. The possible values are: Any, Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut, Template, or Processing.")
public String getStatus() {
return status;
}
/** setStatus. */
public void setStatus(String status) {
this.status = status;
}
/**
* subject.
*
* @return ConnectLog
*/
public ConnectLog subject(String subject) {
this.subject = subject;
return this;
}
/**
* The envelope subject..
*
* @return subject
*/
@Schema(description = "The envelope subject.")
public String getSubject() {
return subject;
}
/** setSubject. */
public void setSubject(String subject) {
this.subject = subject;
}
/**
* userName.
*
* @return ConnectLog
*/
public ConnectLog userName(String userName) {
this.userName = userName;
return this;
}
/**
* The name of the envelope sender..
*
* @return userName
*/
@Schema(description = "The name of the envelope sender.")
public String getUserName() {
return userName;
}
/** setUserName. */
public void setUserName(String userName) {
this.userName = userName;
}
/**
* 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;
}
ConnectLog connectLog = (ConnectLog) o;
return Objects.equals(this.accountId, connectLog.accountId)
&& Objects.equals(this.configUrl, connectLog.configUrl)
&& Objects.equals(this.connectDebugLog, connectLog.connectDebugLog)
&& Objects.equals(this.connectId, connectLog.connectId)
&& Objects.equals(this.created, connectLog.created)
&& Objects.equals(this.email, connectLog.email)
&& Objects.equals(this.envelopeId, connectLog.envelopeId)
&& Objects.equals(this.error, connectLog.error)
&& Objects.equals(this.failureId, connectLog.failureId)
&& Objects.equals(this.failureUri, connectLog.failureUri)
&& Objects.equals(this.lastTry, connectLog.lastTry)
&& Objects.equals(this.logId, connectLog.logId)
&& Objects.equals(this.logUri, connectLog.logUri)
&& Objects.equals(this.retryCount, connectLog.retryCount)
&& Objects.equals(this.retryUri, connectLog.retryUri)
&& Objects.equals(this.status, connectLog.status)
&& Objects.equals(this.subject, connectLog.subject)
&& Objects.equals(this.userName, connectLog.userName);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(
accountId,
configUrl,
connectDebugLog,
connectId,
created,
email,
envelopeId,
error,
failureId,
failureUri,
lastTry,
logId,
logUri,
retryCount,
retryUri,
status,
subject,
userName);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConnectLog {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" configUrl: ").append(toIndentedString(configUrl)).append("\n");
sb.append(" connectDebugLog: ").append(toIndentedString(connectDebugLog)).append("\n");
sb.append(" connectId: ").append(toIndentedString(connectId)).append("\n");
sb.append(" created: ").append(toIndentedString(created)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" envelopeId: ").append(toIndentedString(envelopeId)).append("\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
sb.append(" failureId: ").append(toIndentedString(failureId)).append("\n");
sb.append(" failureUri: ").append(toIndentedString(failureUri)).append("\n");
sb.append(" lastTry: ").append(toIndentedString(lastTry)).append("\n");
sb.append(" logId: ").append(toIndentedString(logId)).append("\n");
sb.append(" logUri: ").append(toIndentedString(logUri)).append("\n");
sb.append(" retryCount: ").append(toIndentedString(retryCount)).append("\n");
sb.append(" retryUri: ").append(toIndentedString(retryUri)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" subject: ").append(toIndentedString(subject)).append("\n");
sb.append(" userName: ").append(toIndentedString(userName)).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 ");
}
}