com.docusign.esign.model.NotaryJournalMetaData 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.
The newest version!
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.Objects;
/** NotaryJournalMetaData. */
public class NotaryJournalMetaData implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("comment")
private String comment = null;
@JsonProperty("credibleWitnesses")
private java.util.List credibleWitnesses = null;
@JsonProperty("signatureImage")
private String signatureImage = null;
@JsonProperty("signerIdType")
private String signerIdType = null;
/**
* comment.
*
* @return NotaryJournalMetaData
*/
public NotaryJournalMetaData comment(String comment) {
this.comment = comment;
return this;
}
/**
* .
*
* @return comment
*/
@Schema(description = "")
public String getComment() {
return comment;
}
/** setComment. */
public void setComment(String comment) {
this.comment = comment;
}
/**
* credibleWitnesses.
*
* @return NotaryJournalMetaData
*/
public NotaryJournalMetaData credibleWitnesses(
java.util.List credibleWitnesses) {
this.credibleWitnesses = credibleWitnesses;
return this;
}
/**
* addCredibleWitnessesItem.
*
* @return NotaryJournalMetaData
*/
public NotaryJournalMetaData addCredibleWitnessesItem(
NotaryJournalCredibleWitness credibleWitnessesItem) {
if (this.credibleWitnesses == null) {
this.credibleWitnesses = new java.util.ArrayList<>();
}
this.credibleWitnesses.add(credibleWitnessesItem);
return this;
}
/**
* .
*
* @return credibleWitnesses
*/
@Schema(description = "")
public java.util.List getCredibleWitnesses() {
return credibleWitnesses;
}
/** setCredibleWitnesses. */
public void setCredibleWitnesses(java.util.List credibleWitnesses) {
this.credibleWitnesses = credibleWitnesses;
}
/**
* signatureImage.
*
* @return NotaryJournalMetaData
*/
public NotaryJournalMetaData signatureImage(String signatureImage) {
this.signatureImage = signatureImage;
return this;
}
/**
* .
*
* @return signatureImage
*/
@Schema(description = "")
public String getSignatureImage() {
return signatureImage;
}
/** setSignatureImage. */
public void setSignatureImage(String signatureImage) {
this.signatureImage = signatureImage;
}
/**
* signerIdType.
*
* @return NotaryJournalMetaData
*/
public NotaryJournalMetaData signerIdType(String signerIdType) {
this.signerIdType = signerIdType;
return this;
}
/**
* .
*
* @return signerIdType
*/
@Schema(description = "")
public String getSignerIdType() {
return signerIdType;
}
/** setSignerIdType. */
public void setSignerIdType(String signerIdType) {
this.signerIdType = signerIdType;
}
/**
* 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;
}
NotaryJournalMetaData notaryJournalMetaData = (NotaryJournalMetaData) o;
return Objects.equals(this.comment, notaryJournalMetaData.comment)
&& Objects.equals(this.credibleWitnesses, notaryJournalMetaData.credibleWitnesses)
&& Objects.equals(this.signatureImage, notaryJournalMetaData.signatureImage)
&& Objects.equals(this.signerIdType, notaryJournalMetaData.signerIdType);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(comment, credibleWitnesses, signatureImage, signerIdType);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NotaryJournalMetaData {\n");
sb.append(" comment: ").append(toIndentedString(comment)).append("\n");
sb.append(" credibleWitnesses: ").append(toIndentedString(credibleWitnesses)).append("\n");
sb.append(" signatureImage: ").append(toIndentedString(signatureImage)).append("\n");
sb.append(" signerIdType: ").append(toIndentedString(signerIdType)).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 ");
}
}