com.docusign.admin.model.AddDSGroupAndUsersResponse 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;
/** AddDSGroupAndUsersResponse. */
public class AddDSGroupAndUsersResponse {
@JsonProperty("group")
private DSGroupResponse group = null;
@JsonProperty("group_users")
private AddDSGroupUsersResponse groupUsers = null;
/**
* group.
*
* @return AddDSGroupAndUsersResponse
*/
public AddDSGroupAndUsersResponse group(DSGroupResponse group) {
this.group = group;
return this;
}
/**
* Get group.
*
* @return group
*/
@Schema(description = "")
public DSGroupResponse getGroup() {
return group;
}
/** setGroup. */
public void setGroup(DSGroupResponse group) {
this.group = group;
}
/**
* groupUsers.
*
* @return AddDSGroupAndUsersResponse
*/
public AddDSGroupAndUsersResponse groupUsers(AddDSGroupUsersResponse groupUsers) {
this.groupUsers = groupUsers;
return this;
}
/**
* Get groupUsers.
*
* @return groupUsers
*/
@Schema(description = "")
public AddDSGroupUsersResponse getGroupUsers() {
return groupUsers;
}
/** setGroupUsers. */
public void setGroupUsers(AddDSGroupUsersResponse groupUsers) {
this.groupUsers = groupUsers;
}
/**
* 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;
}
AddDSGroupAndUsersResponse addDSGroupAndUsersResponse = (AddDSGroupAndUsersResponse) o;
return Objects.equals(this.group, addDSGroupAndUsersResponse.group)
&& Objects.equals(this.groupUsers, addDSGroupAndUsersResponse.groupUsers);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(group, groupUsers);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AddDSGroupAndUsersResponse {\n");
sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append(" groupUsers: ").append(toIndentedString(groupUsers)).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 ");
}
}