com.docusign.admin.model.DeleteUserIdentityRequest 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;
/** DeleteUserIdentityRequest. */
public class DeleteUserIdentityRequest {
@JsonProperty("identities")
private java.util.List identities = new java.util.ArrayList<>();
/**
* identities.
*
* @return DeleteUserIdentityRequest
*/
public DeleteUserIdentityRequest identities(java.util.List identities) {
this.identities = identities;
return this;
}
/**
* addIdentitiesItem.
*
* @return DeleteUserIdentityRequest
*/
public DeleteUserIdentityRequest addIdentitiesItem(UserIdentityRequest identitiesItem) {
this.identities.add(identitiesItem);
return this;
}
/**
* Get identities.
*
* @return identities
*/
@Schema(required = true, description = "")
public java.util.List getIdentities() {
return identities;
}
/** setIdentities. */
public void setIdentities(java.util.List identities) {
this.identities = identities;
}
/**
* 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;
}
DeleteUserIdentityRequest deleteUserIdentityRequest = (DeleteUserIdentityRequest) o;
return Objects.equals(this.identities, deleteUserIdentityRequest.identities);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(identities);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DeleteUserIdentityRequest {\n");
sb.append(" identities: ").append(toIndentedString(identities)).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 ");
}
}