All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.docusign.esign.model.NotaryJournal Maven / Gradle / Ivy

Go to download

The official DocuSign eSignature JAVA client is based on version 2 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.

There is a newer version: 6.0.0
Show newest version
package com.docusign.esign.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;

/** NotaryJournal. */
public class NotaryJournal {
  @JsonProperty("createdDate")
  private String createdDate = null;

  @JsonProperty("documentName")
  private String documentName = null;

  @JsonProperty("jurisdiction")
  private Jurisdiction jurisdiction = null;

  @JsonProperty("notaryJournalId")
  private String notaryJournalId = null;

  @JsonProperty("notaryJournalMetaData")
  private NotaryJournalMetaData notaryJournalMetaData = null;

  @JsonProperty("signerName")
  private String signerName = null;

  /**
   * createdDate.
   *
   * @return NotaryJournal
   */
  public NotaryJournal createdDate(String createdDate) {
    this.createdDate = createdDate;
    return this;
  }

  /**
   * .
   *
   * @return createdDate
   */
  @Schema(description = "")
  public String getCreatedDate() {
    return createdDate;
  }

  /** setCreatedDate. */
  public void setCreatedDate(String createdDate) {
    this.createdDate = createdDate;
  }

  /**
   * documentName.
   *
   * @return NotaryJournal
   */
  public NotaryJournal documentName(String documentName) {
    this.documentName = documentName;
    return this;
  }

  /**
   * .
   *
   * @return documentName
   */
  @Schema(description = "")
  public String getDocumentName() {
    return documentName;
  }

  /** setDocumentName. */
  public void setDocumentName(String documentName) {
    this.documentName = documentName;
  }

  /**
   * jurisdiction.
   *
   * @return NotaryJournal
   */
  public NotaryJournal jurisdiction(Jurisdiction jurisdiction) {
    this.jurisdiction = jurisdiction;
    return this;
  }

  /**
   * The notary's jurisdiction. .
   *
   * @return jurisdiction
   */
  @Schema(description = "The notary's jurisdiction. ")
  public Jurisdiction getJurisdiction() {
    return jurisdiction;
  }

  /** setJurisdiction. */
  public void setJurisdiction(Jurisdiction jurisdiction) {
    this.jurisdiction = jurisdiction;
  }

  /**
   * notaryJournalId.
   *
   * @return NotaryJournal
   */
  public NotaryJournal notaryJournalId(String notaryJournalId) {
    this.notaryJournalId = notaryJournalId;
    return this;
  }

  /**
   * .
   *
   * @return notaryJournalId
   */
  @Schema(description = "")
  public String getNotaryJournalId() {
    return notaryJournalId;
  }

  /** setNotaryJournalId. */
  public void setNotaryJournalId(String notaryJournalId) {
    this.notaryJournalId = notaryJournalId;
  }

  /**
   * notaryJournalMetaData.
   *
   * @return NotaryJournal
   */
  public NotaryJournal notaryJournalMetaData(NotaryJournalMetaData notaryJournalMetaData) {
    this.notaryJournalMetaData = notaryJournalMetaData;
    return this;
  }

  /**
   * Additional journal data such as the witness list and signature image..
   *
   * @return notaryJournalMetaData
   */
  @Schema(description = "Additional journal data such as the witness list and signature image.")
  public NotaryJournalMetaData getNotaryJournalMetaData() {
    return notaryJournalMetaData;
  }

  /** setNotaryJournalMetaData. */
  public void setNotaryJournalMetaData(NotaryJournalMetaData notaryJournalMetaData) {
    this.notaryJournalMetaData = notaryJournalMetaData;
  }

  /**
   * signerName.
   *
   * @return NotaryJournal
   */
  public NotaryJournal signerName(String signerName) {
    this.signerName = signerName;
    return this;
  }

  /**
   * .
   *
   * @return signerName
   */
  @Schema(description = "")
  public String getSignerName() {
    return signerName;
  }

  /** setSignerName. */
  public void setSignerName(String signerName) {
    this.signerName = signerName;
  }

  /**
   * 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;
    }
    NotaryJournal notaryJournal = (NotaryJournal) o;
    return Objects.equals(this.createdDate, notaryJournal.createdDate)
        && Objects.equals(this.documentName, notaryJournal.documentName)
        && Objects.equals(this.jurisdiction, notaryJournal.jurisdiction)
        && Objects.equals(this.notaryJournalId, notaryJournal.notaryJournalId)
        && Objects.equals(this.notaryJournalMetaData, notaryJournal.notaryJournalMetaData)
        && Objects.equals(this.signerName, notaryJournal.signerName);
  }

  /** Returns the HashCode. */
  @Override
  public int hashCode() {
    return Objects.hash(
        createdDate,
        documentName,
        jurisdiction,
        notaryJournalId,
        notaryJournalMetaData,
        signerName);
  }

  /** Converts the given object to string. */
  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class NotaryJournal {\n");

    sb.append("    createdDate: ").append(toIndentedString(createdDate)).append("\n");
    sb.append("    documentName: ").append(toIndentedString(documentName)).append("\n");
    sb.append("    jurisdiction: ").append(toIndentedString(jurisdiction)).append("\n");
    sb.append("    notaryJournalId: ").append(toIndentedString(notaryJournalId)).append("\n");
    sb.append("    notaryJournalMetaData: ")
        .append(toIndentedString(notaryJournalMetaData))
        .append("\n");
    sb.append("    signerName: ").append(toIndentedString(signerName)).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 - 2024 Weber Informatics LLC | Privacy Policy