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

com.docusign.admin.model.OrgReportListResponse Maven / Gradle / Ivy

Go to download

The DocuSign Admin API enables you to automate user management with your existing systems while ensuring governance and compliance.

There is a newer version: 2.0.0-RC1
Show newest version
package com.docusign.admin.model;

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

/** OrgReportListResponse. */
public class OrgReportListResponse {
  @JsonProperty("reports")
  private java.util.List reports = null;

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

  /**
   * addReportsItem.
   *
   * @return OrgReportListResponse
   */
  public OrgReportListResponse addReportsItem(OrgReportListResponseOrgReport reportsItem) {
    if (this.reports == null) {
      this.reports = new java.util.ArrayList<>();
    }
    this.reports.add(reportsItem);
    return this;
  }

  /**
   * Get reports.
   *
   * @return reports
   */
  @Schema(description = "")
  public java.util.List getReports() {
    return reports;
  }

  /** setReports. */
  public void setReports(java.util.List reports) {
    this.reports = reports;
  }

  /**
   * 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;
    }
    OrgReportListResponse orgReportListResponse = (OrgReportListResponse) o;
    return Objects.equals(this.reports, orgReportListResponse.reports);
  }

  /** Returns the HashCode. */
  @Override
  public int hashCode() {
    return Objects.hash(reports);
  }

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

    sb.append("    reports: ").append(toIndentedString(reports)).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