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

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

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

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;

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

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

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

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

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

  @JsonProperty("signatureProviderOptionsMetadata")
  private java.util.List signatureProviderOptionsMetadata = null;

  @JsonProperty("signatureProviderRequiredOptions")
  private java.util.List signatureProviderRequiredOptions = null;

  /**
   * isRequired.
   *
   * @return AccountSignatureProvider
   */
  public AccountSignatureProvider isRequired(String isRequired) {
    this.isRequired = isRequired;
    return this;
  }

  /**
   * .
   *
   * @return isRequired
   */
  @ApiModelProperty(value = "")
  public String getIsRequired() {
    return isRequired;
  }

  /** setIsRequired. */
  public void setIsRequired(String isRequired) {
    this.isRequired = isRequired;
  }

  /**
   * priority.
   *
   * @return AccountSignatureProvider
   */
  public AccountSignatureProvider priority(String priority) {
    this.priority = priority;
    return this;
  }

  /**
   * .
   *
   * @return priority
   */
  @ApiModelProperty(value = "")
  public String getPriority() {
    return priority;
  }

  /** setPriority. */
  public void setPriority(String priority) {
    this.priority = priority;
  }

  /**
   * signatureProviderDisplayName.
   *
   * @return AccountSignatureProvider
   */
  public AccountSignatureProvider signatureProviderDisplayName(
      String signatureProviderDisplayName) {
    this.signatureProviderDisplayName = signatureProviderDisplayName;
    return this;
  }

  /**
   * .
   *
   * @return signatureProviderDisplayName
   */
  @ApiModelProperty(value = "")
  public String getSignatureProviderDisplayName() {
    return signatureProviderDisplayName;
  }

  /** setSignatureProviderDisplayName. */
  public void setSignatureProviderDisplayName(String signatureProviderDisplayName) {
    this.signatureProviderDisplayName = signatureProviderDisplayName;
  }

  /**
   * signatureProviderId.
   *
   * @return AccountSignatureProvider
   */
  public AccountSignatureProvider signatureProviderId(String signatureProviderId) {
    this.signatureProviderId = signatureProviderId;
    return this;
  }

  /**
   * .
   *
   * @return signatureProviderId
   */
  @ApiModelProperty(value = "")
  public String getSignatureProviderId() {
    return signatureProviderId;
  }

  /** setSignatureProviderId. */
  public void setSignatureProviderId(String signatureProviderId) {
    this.signatureProviderId = signatureProviderId;
  }

  /**
   * signatureProviderName.
   *
   * @return AccountSignatureProvider
   */
  public AccountSignatureProvider signatureProviderName(String signatureProviderName) {
    this.signatureProviderName = signatureProviderName;
    return this;
  }

  /**
   * .
   *
   * @return signatureProviderName
   */
  @ApiModelProperty(value = "")
  public String getSignatureProviderName() {
    return signatureProviderName;
  }

  /** setSignatureProviderName. */
  public void setSignatureProviderName(String signatureProviderName) {
    this.signatureProviderName = signatureProviderName;
  }

  /**
   * signatureProviderOptionsMetadata.
   *
   * @return AccountSignatureProvider
   */
  public AccountSignatureProvider signatureProviderOptionsMetadata(
      java.util.List signatureProviderOptionsMetadata) {
    this.signatureProviderOptionsMetadata = signatureProviderOptionsMetadata;
    return this;
  }

  /**
   * addSignatureProviderOptionsMetadataItem.
   *
   * @return AccountSignatureProvider
   */
  public AccountSignatureProvider addSignatureProviderOptionsMetadataItem(
      AccountSignatureProviderOption signatureProviderOptionsMetadataItem) {
    if (this.signatureProviderOptionsMetadata == null) {
      this.signatureProviderOptionsMetadata =
          new java.util.ArrayList();
    }
    this.signatureProviderOptionsMetadata.add(signatureProviderOptionsMetadataItem);
    return this;
  }

  /**
   * .
   *
   * @return signatureProviderOptionsMetadata
   */
  @ApiModelProperty(value = "")
  public java.util.List getSignatureProviderOptionsMetadata() {
    return signatureProviderOptionsMetadata;
  }

  /** setSignatureProviderOptionsMetadata. */
  public void setSignatureProviderOptionsMetadata(
      java.util.List signatureProviderOptionsMetadata) {
    this.signatureProviderOptionsMetadata = signatureProviderOptionsMetadata;
  }

  /**
   * signatureProviderRequiredOptions.
   *
   * @return AccountSignatureProvider
   */
  public AccountSignatureProvider signatureProviderRequiredOptions(
      java.util.List signatureProviderRequiredOptions) {
    this.signatureProviderRequiredOptions = signatureProviderRequiredOptions;
    return this;
  }

  /**
   * addSignatureProviderRequiredOptionsItem.
   *
   * @return AccountSignatureProvider
   */
  public AccountSignatureProvider addSignatureProviderRequiredOptionsItem(
      SignatureProviderRequiredOption signatureProviderRequiredOptionsItem) {
    if (this.signatureProviderRequiredOptions == null) {
      this.signatureProviderRequiredOptions =
          new java.util.ArrayList();
    }
    this.signatureProviderRequiredOptions.add(signatureProviderRequiredOptionsItem);
    return this;
  }

  /**
   * .
   *
   * @return signatureProviderRequiredOptions
   */
  @ApiModelProperty(value = "")
  public java.util.List getSignatureProviderRequiredOptions() {
    return signatureProviderRequiredOptions;
  }

  /** setSignatureProviderRequiredOptions. */
  public void setSignatureProviderRequiredOptions(
      java.util.List signatureProviderRequiredOptions) {
    this.signatureProviderRequiredOptions = signatureProviderRequiredOptions;
  }

  /**
   * 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;
    }
    AccountSignatureProvider accountSignatureProvider = (AccountSignatureProvider) o;
    return Objects.equals(this.isRequired, accountSignatureProvider.isRequired)
        && Objects.equals(this.priority, accountSignatureProvider.priority)
        && Objects.equals(
            this.signatureProviderDisplayName,
            accountSignatureProvider.signatureProviderDisplayName)
        && Objects.equals(this.signatureProviderId, accountSignatureProvider.signatureProviderId)
        && Objects.equals(
            this.signatureProviderName, accountSignatureProvider.signatureProviderName)
        && Objects.equals(
            this.signatureProviderOptionsMetadata,
            accountSignatureProvider.signatureProviderOptionsMetadata)
        && Objects.equals(
            this.signatureProviderRequiredOptions,
            accountSignatureProvider.signatureProviderRequiredOptions);
  }

  /** Returns the HashCode. */
  @Override
  public int hashCode() {
    return Objects.hash(
        isRequired,
        priority,
        signatureProviderDisplayName,
        signatureProviderId,
        signatureProviderName,
        signatureProviderOptionsMetadata,
        signatureProviderRequiredOptions);
  }

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

    sb.append("    isRequired: ").append(toIndentedString(isRequired)).append("\n");
    sb.append("    priority: ").append(toIndentedString(priority)).append("\n");
    sb.append("    signatureProviderDisplayName: ")
        .append(toIndentedString(signatureProviderDisplayName))
        .append("\n");
    sb.append("    signatureProviderId: ")
        .append(toIndentedString(signatureProviderId))
        .append("\n");
    sb.append("    signatureProviderName: ")
        .append(toIndentedString(signatureProviderName))
        .append("\n");
    sb.append("    signatureProviderOptionsMetadata: ")
        .append(toIndentedString(signatureProviderOptionsMetadata))
        .append("\n");
    sb.append("    signatureProviderRequiredOptions: ")
        .append(toIndentedString(signatureProviderRequiredOptions))
        .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