com.docusign.admin.model.OrgReportRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docusign-admin-java Show documentation
Show all versions of docusign-admin-java Show documentation
The DocuSign Admin API enables you to automate user management with your existing systems while ensuring governance and compliance.
package com.docusign.admin.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;
/** OrgReportRequest. */
public class OrgReportRequest {
@JsonProperty("report_type")
private String reportType = null;
@JsonProperty("report_date_range")
private String reportDateRange = null;
@JsonProperty("account_ids")
private java.util.List accountIds = null;
@JsonProperty("custom_start_date")
private String customStartDate = null;
@JsonProperty("custom_end_date")
private String customEndDate = null;
/**
* reportType.
*
* @return OrgReportRequest
*/
public OrgReportRequest reportType(String reportType) {
this.reportType = reportType;
return this;
}
/**
* Get reportType.
*
* @return reportType
*/
@Schema(description = "")
public String getReportType() {
return reportType;
}
/** setReportType. */
public void setReportType(String reportType) {
this.reportType = reportType;
}
/**
* reportDateRange.
*
* @return OrgReportRequest
*/
public OrgReportRequest reportDateRange(String reportDateRange) {
this.reportDateRange = reportDateRange;
return this;
}
/**
* Get reportDateRange.
*
* @return reportDateRange
*/
@Schema(description = "")
public String getReportDateRange() {
return reportDateRange;
}
/** setReportDateRange. */
public void setReportDateRange(String reportDateRange) {
this.reportDateRange = reportDateRange;
}
/**
* accountIds.
*
* @return OrgReportRequest
*/
public OrgReportRequest accountIds(java.util.List accountIds) {
this.accountIds = accountIds;
return this;
}
/**
* addAccountIdsItem.
*
* @return OrgReportRequest
*/
public OrgReportRequest addAccountIdsItem(java.util.UUID accountIdsItem) {
if (this.accountIds == null) {
this.accountIds = new java.util.ArrayList<>();
}
this.accountIds.add(accountIdsItem);
return this;
}
/**
* Get accountIds.
*
* @return accountIds
*/
@Schema(description = "")
public java.util.List getAccountIds() {
return accountIds;
}
/** setAccountIds. */
public void setAccountIds(java.util.List accountIds) {
this.accountIds = accountIds;
}
/**
* customStartDate.
*
* @return OrgReportRequest
*/
public OrgReportRequest customStartDate(String customStartDate) {
this.customStartDate = customStartDate;
return this;
}
/**
* Get customStartDate.
*
* @return customStartDate
*/
@Schema(description = "")
public String getCustomStartDate() {
return customStartDate;
}
/** setCustomStartDate. */
public void setCustomStartDate(String customStartDate) {
this.customStartDate = customStartDate;
}
/**
* customEndDate.
*
* @return OrgReportRequest
*/
public OrgReportRequest customEndDate(String customEndDate) {
this.customEndDate = customEndDate;
return this;
}
/**
* Get customEndDate.
*
* @return customEndDate
*/
@Schema(description = "")
public String getCustomEndDate() {
return customEndDate;
}
/** setCustomEndDate. */
public void setCustomEndDate(String customEndDate) {
this.customEndDate = customEndDate;
}
/**
* 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;
}
OrgReportRequest orgReportRequest = (OrgReportRequest) o;
return Objects.equals(this.reportType, orgReportRequest.reportType)
&& Objects.equals(this.reportDateRange, orgReportRequest.reportDateRange)
&& Objects.equals(this.accountIds, orgReportRequest.accountIds)
&& Objects.equals(this.customStartDate, orgReportRequest.customStartDate)
&& Objects.equals(this.customEndDate, orgReportRequest.customEndDate);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(reportType, reportDateRange, accountIds, customStartDate, customEndDate);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class OrgReportRequest {\n");
sb.append(" reportType: ").append(toIndentedString(reportType)).append("\n");
sb.append(" reportDateRange: ").append(toIndentedString(reportDateRange)).append("\n");
sb.append(" accountIds: ").append(toIndentedString(accountIds)).append("\n");
sb.append(" customStartDate: ").append(toIndentedString(customStartDate)).append("\n");
sb.append(" customEndDate: ").append(toIndentedString(customEndDate)).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 ");
}
}