com.docusign.admin.model.OrganizationImportsResponse 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;
/** OrganizationImportsResponse. */
public class OrganizationImportsResponse {
@JsonProperty("imports")
private java.util.List imports = null;
/**
* imports.
*
* @return OrganizationImportsResponse
*/
public OrganizationImportsResponse imports(java.util.List imports) {
this.imports = imports;
return this;
}
/**
* addImportsItem.
*
* @return OrganizationImportsResponse
*/
public OrganizationImportsResponse addImportsItem(OrganizationImportResponse importsItem) {
if (this.imports == null) {
this.imports = new java.util.ArrayList<>();
}
this.imports.add(importsItem);
return this;
}
/**
* Get imports.
*
* @return imports
*/
@Schema(description = "")
public java.util.List getImports() {
return imports;
}
/** setImports. */
public void setImports(java.util.List imports) {
this.imports = imports;
}
/**
* 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;
}
OrganizationImportsResponse organizationImportsResponse = (OrganizationImportsResponse) o;
return Objects.equals(this.imports, organizationImportsResponse.imports);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(imports);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class OrganizationImportsResponse {\n");
sb.append(" imports: ").append(toIndentedString(imports)).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 ");
}
}