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

com.docusign.esign.model.DiagnosticsSettingsInformation 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;

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

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

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

  /**
   * apiRequestLogging.
   *
   * @return DiagnosticsSettingsInformation
   */
  public DiagnosticsSettingsInformation apiRequestLogging(String apiRequestLogging) {
    this.apiRequestLogging = apiRequestLogging;
    return this;
  }

  /**
   * When set to **true**, enables API request logging for the user. .
   *
   * @return apiRequestLogging
   */
  @Schema(description = " When set to **true**, enables API request logging for the user. ")
  public String getApiRequestLogging() {
    return apiRequestLogging;
  }

  /** setApiRequestLogging. */
  public void setApiRequestLogging(String apiRequestLogging) {
    this.apiRequestLogging = apiRequestLogging;
  }

  /**
   * apiRequestLogMaxEntries.
   *
   * @return DiagnosticsSettingsInformation
   */
  public DiagnosticsSettingsInformation apiRequestLogMaxEntries(String apiRequestLogMaxEntries) {
    this.apiRequestLogMaxEntries = apiRequestLogMaxEntries;
    return this;
  }

  /**
   * Specifies the maximum number of API requests to log..
   *
   * @return apiRequestLogMaxEntries
   */
  @Schema(description = "Specifies the maximum number of API requests to log.")
  public String getApiRequestLogMaxEntries() {
    return apiRequestLogMaxEntries;
  }

  /** setApiRequestLogMaxEntries. */
  public void setApiRequestLogMaxEntries(String apiRequestLogMaxEntries) {
    this.apiRequestLogMaxEntries = apiRequestLogMaxEntries;
  }

  /**
   * apiRequestLogRemainingEntries.
   *
   * @return DiagnosticsSettingsInformation
   */
  public DiagnosticsSettingsInformation apiRequestLogRemainingEntries(
      String apiRequestLogRemainingEntries) {
    this.apiRequestLogRemainingEntries = apiRequestLogRemainingEntries;
    return this;
  }

  /**
   * Indicates the remaining number of API requests that can be logged..
   *
   * @return apiRequestLogRemainingEntries
   */
  @Schema(description = "Indicates the remaining number of API requests that can be logged.")
  public String getApiRequestLogRemainingEntries() {
    return apiRequestLogRemainingEntries;
  }

  /** setApiRequestLogRemainingEntries. */
  public void setApiRequestLogRemainingEntries(String apiRequestLogRemainingEntries) {
    this.apiRequestLogRemainingEntries = apiRequestLogRemainingEntries;
  }

  /**
   * 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;
    }
    DiagnosticsSettingsInformation diagnosticsSettingsInformation =
        (DiagnosticsSettingsInformation) o;
    return Objects.equals(this.apiRequestLogging, diagnosticsSettingsInformation.apiRequestLogging)
        && Objects.equals(
            this.apiRequestLogMaxEntries, diagnosticsSettingsInformation.apiRequestLogMaxEntries)
        && Objects.equals(
            this.apiRequestLogRemainingEntries,
            diagnosticsSettingsInformation.apiRequestLogRemainingEntries);
  }

  /** Returns the HashCode. */
  @Override
  public int hashCode() {
    return Objects.hash(apiRequestLogging, apiRequestLogMaxEntries, apiRequestLogRemainingEntries);
  }

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

    sb.append("    apiRequestLogging: ").append(toIndentedString(apiRequestLogging)).append("\n");
    sb.append("    apiRequestLogMaxEntries: ")
        .append(toIndentedString(apiRequestLogMaxEntries))
        .append("\n");
    sb.append("    apiRequestLogRemainingEntries: ")
        .append(toIndentedString(apiRequestLogRemainingEntries))
        .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