com.docusign.esign.model.MemberGroupSharedItem Maven / Gradle / Ivy
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
/** MemberGroupSharedItem. */
public class MemberGroupSharedItem {
@JsonProperty("errorDetails")
private ErrorDetails errorDetails = null;
@JsonProperty("group")
private Group group = null;
@JsonProperty("shared")
private String shared = null;
/**
* errorDetails.
*
* @return MemberGroupSharedItem
*/
public MemberGroupSharedItem errorDetails(ErrorDetails errorDetails) {
this.errorDetails = errorDetails;
return this;
}
/**
* Get errorDetails.
*
* @return errorDetails
*/
@ApiModelProperty(value = "")
public ErrorDetails getErrorDetails() {
return errorDetails;
}
/** setErrorDetails. */
public void setErrorDetails(ErrorDetails errorDetails) {
this.errorDetails = errorDetails;
}
/**
* group.
*
* @return MemberGroupSharedItem
*/
public MemberGroupSharedItem group(Group group) {
this.group = group;
return this;
}
/**
* Get group.
*
* @return group
*/
@ApiModelProperty(value = "")
public Group getGroup() {
return group;
}
/** setGroup. */
public void setGroup(Group group) {
this.group = group;
}
/**
* shared.
*
* @return MemberGroupSharedItem
*/
public MemberGroupSharedItem shared(String shared) {
this.shared = shared;
return this;
}
/**
* When set to **true**, this custom tab is shared..
*
* @return shared
*/
@ApiModelProperty(value = "When set to **true**, this custom tab is shared.")
public String getShared() {
return shared;
}
/** setShared. */
public void setShared(String shared) {
this.shared = shared;
}
/**
* 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;
}
MemberGroupSharedItem memberGroupSharedItem = (MemberGroupSharedItem) o;
return Objects.equals(this.errorDetails, memberGroupSharedItem.errorDetails)
&& Objects.equals(this.group, memberGroupSharedItem.group)
&& Objects.equals(this.shared, memberGroupSharedItem.shared);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(errorDetails, group, shared);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MemberGroupSharedItem {\n");
sb.append(" errorDetails: ").append(toIndentedString(errorDetails)).append("\n");
sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append(" shared: ").append(toIndentedString(shared)).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 ");
}
}