com.docusign.esign.model.WorkspaceUser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docusign-esign-java Show documentation
Show all versions of docusign-esign-java Show documentation
The official DocuSign eSignature JAVA client is based on version 2 of the DocuSign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;
/**
* A workspaceUser representing the user. This property is only returned in response to user
* specific GET call. .
*/
@Schema(
description =
"A workspaceUser representing the user. This property is only returned in response to user specific GET call. ")
public class WorkspaceUser {
@JsonProperty("accountId")
private String accountId = null;
@JsonProperty("accountName")
private String accountName = null;
@JsonProperty("activeSince")
private String activeSince = null;
@JsonProperty("created")
private String created = null;
@JsonProperty("createdById")
private String createdById = null;
@JsonProperty("email")
private String email = null;
@JsonProperty("errorDetails")
private ErrorDetails errorDetails = null;
@JsonProperty("invitationEmailBlurb")
private String invitationEmailBlurb = null;
@JsonProperty("invitationEmailSubject")
private String invitationEmailSubject = null;
@JsonProperty("lastModified")
private String lastModified = null;
@JsonProperty("lastModifiedById")
private String lastModifiedById = null;
@JsonProperty("status")
private String status = null;
@JsonProperty("type")
private String type = null;
@JsonProperty("userId")
private String userId = null;
@JsonProperty("userName")
private String userName = null;
@JsonProperty("workspaceId")
private String workspaceId = null;
@JsonProperty("workspaceUserBaseUrl")
private String workspaceUserBaseUrl = null;
@JsonProperty("workspaceUserId")
private String workspaceUserId = null;
@JsonProperty("workspaceUserUri")
private String workspaceUserUri = null;
/**
* accountId.
*
* @return WorkspaceUser
*/
public WorkspaceUser accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The account ID associated with the envelope..
*
* @return accountId
*/
@Schema(description = "The account ID associated with the envelope.")
public String getAccountId() {
return accountId;
}
/** setAccountId. */
public void setAccountId(String accountId) {
this.accountId = accountId;
}
/**
* accountName.
*
* @return WorkspaceUser
*/
public WorkspaceUser accountName(String accountName) {
this.accountName = accountName;
return this;
}
/**
* The name of the account that the workspace user belongs to..
*
* @return accountName
*/
@Schema(description = "The name of the account that the workspace user belongs to.")
public String getAccountName() {
return accountName;
}
/** setAccountName. */
public void setAccountName(String accountName) {
this.accountName = accountName;
}
/**
* activeSince.
*
* @return WorkspaceUser
*/
public WorkspaceUser activeSince(String activeSince) {
this.activeSince = activeSince;
return this;
}
/**
* .
*
* @return activeSince
*/
@Schema(description = "")
public String getActiveSince() {
return activeSince;
}
/** setActiveSince. */
public void setActiveSince(String activeSince) {
this.activeSince = activeSince;
}
/**
* created.
*
* @return WorkspaceUser
*/
public WorkspaceUser created(String created) {
this.created = created;
return this;
}
/**
* The UTC DateTime when the workspace user was created..
*
* @return created
*/
@Schema(description = "The UTC DateTime when the workspace user was created.")
public String getCreated() {
return created;
}
/** setCreated. */
public void setCreated(String created) {
this.created = created;
}
/**
* createdById.
*
* @return WorkspaceUser
*/
public WorkspaceUser createdById(String createdById) {
this.createdById = createdById;
return this;
}
/**
* .
*
* @return createdById
*/
@Schema(description = "")
public String getCreatedById() {
return createdById;
}
/** setCreatedById. */
public void setCreatedById(String createdById) {
this.createdById = createdById;
}
/**
* email.
*
* @return WorkspaceUser
*/
public WorkspaceUser email(String email) {
this.email = email;
return this;
}
/**
* .
*
* @return email
*/
@Schema(description = "")
public String getEmail() {
return email;
}
/** setEmail. */
public void setEmail(String email) {
this.email = email;
}
/**
* errorDetails.
*
* @return WorkspaceUser
*/
public WorkspaceUser errorDetails(ErrorDetails errorDetails) {
this.errorDetails = errorDetails;
return this;
}
/**
* Array or errors..
*
* @return errorDetails
*/
@Schema(description = "Array or errors.")
public ErrorDetails getErrorDetails() {
return errorDetails;
}
/** setErrorDetails. */
public void setErrorDetails(ErrorDetails errorDetails) {
this.errorDetails = errorDetails;
}
/**
* invitationEmailBlurb.
*
* @return WorkspaceUser
*/
public WorkspaceUser invitationEmailBlurb(String invitationEmailBlurb) {
this.invitationEmailBlurb = invitationEmailBlurb;
return this;
}
/**
* .
*
* @return invitationEmailBlurb
*/
@Schema(description = "")
public String getInvitationEmailBlurb() {
return invitationEmailBlurb;
}
/** setInvitationEmailBlurb. */
public void setInvitationEmailBlurb(String invitationEmailBlurb) {
this.invitationEmailBlurb = invitationEmailBlurb;
}
/**
* invitationEmailSubject.
*
* @return WorkspaceUser
*/
public WorkspaceUser invitationEmailSubject(String invitationEmailSubject) {
this.invitationEmailSubject = invitationEmailSubject;
return this;
}
/**
* .
*
* @return invitationEmailSubject
*/
@Schema(description = "")
public String getInvitationEmailSubject() {
return invitationEmailSubject;
}
/** setInvitationEmailSubject. */
public void setInvitationEmailSubject(String invitationEmailSubject) {
this.invitationEmailSubject = invitationEmailSubject;
}
/**
* lastModified.
*
* @return WorkspaceUser
*/
public WorkspaceUser lastModified(String lastModified) {
this.lastModified = lastModified;
return this;
}
/**
* Utc date and time the comment was last updated (can only be done by creator.).
*
* @return lastModified
*/
@Schema(
description = "Utc date and time the comment was last updated (can only be done by creator.)")
public String getLastModified() {
return lastModified;
}
/** setLastModified. */
public void setLastModified(String lastModified) {
this.lastModified = lastModified;
}
/**
* lastModifiedById.
*
* @return WorkspaceUser
*/
public WorkspaceUser lastModifiedById(String lastModifiedById) {
this.lastModifiedById = lastModifiedById;
return this;
}
/**
* .
*
* @return lastModifiedById
*/
@Schema(description = "")
public String getLastModifiedById() {
return lastModifiedById;
}
/** setLastModifiedById. */
public void setLastModifiedById(String lastModifiedById) {
this.lastModifiedById = lastModifiedById;
}
/**
* status.
*
* @return WorkspaceUser
*/
public WorkspaceUser status(String status) {
this.status = status;
return this;
}
/**
* Indicates the envelope status. Valid values are: * sent - The envelope is sent to the
* recipients. * created - The envelope is saved as a draft and can be modified and sent later..
*
* @return status
*/
@Schema(
description =
"Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.")
public String getStatus() {
return status;
}
/** setStatus. */
public void setStatus(String status) {
this.status = status;
}
/**
* type.
*
* @return WorkspaceUser
*/
public WorkspaceUser type(String type) {
this.type = type;
return this;
}
/**
* Type of the user. Valid values: type_owner, type_participant..
*
* @return type
*/
@Schema(description = "Type of the user. Valid values: type_owner, type_participant.")
public String getType() {
return type;
}
/** setType. */
public void setType(String type) {
this.type = type;
}
/**
* userId.
*
* @return WorkspaceUser
*/
public WorkspaceUser userId(String userId) {
this.userId = userId;
return this;
}
/**
* .
*
* @return userId
*/
@Schema(description = "")
public String getUserId() {
return userId;
}
/** setUserId. */
public void setUserId(String userId) {
this.userId = userId;
}
/**
* userName.
*
* @return WorkspaceUser
*/
public WorkspaceUser userName(String userName) {
this.userName = userName;
return this;
}
/**
* .
*
* @return userName
*/
@Schema(description = "")
public String getUserName() {
return userName;
}
/** setUserName. */
public void setUserName(String userName) {
this.userName = userName;
}
/**
* workspaceId.
*
* @return WorkspaceUser
*/
public WorkspaceUser workspaceId(String workspaceId) {
this.workspaceId = workspaceId;
return this;
}
/**
* .
*
* @return workspaceId
*/
@Schema(description = "")
public String getWorkspaceId() {
return workspaceId;
}
/** setWorkspaceId. */
public void setWorkspaceId(String workspaceId) {
this.workspaceId = workspaceId;
}
/**
* workspaceUserBaseUrl.
*
* @return WorkspaceUser
*/
public WorkspaceUser workspaceUserBaseUrl(String workspaceUserBaseUrl) {
this.workspaceUserBaseUrl = workspaceUserBaseUrl;
return this;
}
/**
* The relative URI that may be used to access a workspace user..
*
* @return workspaceUserBaseUrl
*/
@Schema(description = "The relative URI that may be used to access a workspace user.")
public String getWorkspaceUserBaseUrl() {
return workspaceUserBaseUrl;
}
/** setWorkspaceUserBaseUrl. */
public void setWorkspaceUserBaseUrl(String workspaceUserBaseUrl) {
this.workspaceUserBaseUrl = workspaceUserBaseUrl;
}
/**
* workspaceUserId.
*
* @return WorkspaceUser
*/
public WorkspaceUser workspaceUserId(String workspaceUserId) {
this.workspaceUserId = workspaceUserId;
return this;
}
/**
* .
*
* @return workspaceUserId
*/
@Schema(description = "")
public String getWorkspaceUserId() {
return workspaceUserId;
}
/** setWorkspaceUserId. */
public void setWorkspaceUserId(String workspaceUserId) {
this.workspaceUserId = workspaceUserId;
}
/**
* workspaceUserUri.
*
* @return WorkspaceUser
*/
public WorkspaceUser workspaceUserUri(String workspaceUserUri) {
this.workspaceUserUri = workspaceUserUri;
return this;
}
/**
* .
*
* @return workspaceUserUri
*/
@Schema(description = "")
public String getWorkspaceUserUri() {
return workspaceUserUri;
}
/** setWorkspaceUserUri. */
public void setWorkspaceUserUri(String workspaceUserUri) {
this.workspaceUserUri = workspaceUserUri;
}
/**
* 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;
}
WorkspaceUser workspaceUser = (WorkspaceUser) o;
return Objects.equals(this.accountId, workspaceUser.accountId)
&& Objects.equals(this.accountName, workspaceUser.accountName)
&& Objects.equals(this.activeSince, workspaceUser.activeSince)
&& Objects.equals(this.created, workspaceUser.created)
&& Objects.equals(this.createdById, workspaceUser.createdById)
&& Objects.equals(this.email, workspaceUser.email)
&& Objects.equals(this.errorDetails, workspaceUser.errorDetails)
&& Objects.equals(this.invitationEmailBlurb, workspaceUser.invitationEmailBlurb)
&& Objects.equals(this.invitationEmailSubject, workspaceUser.invitationEmailSubject)
&& Objects.equals(this.lastModified, workspaceUser.lastModified)
&& Objects.equals(this.lastModifiedById, workspaceUser.lastModifiedById)
&& Objects.equals(this.status, workspaceUser.status)
&& Objects.equals(this.type, workspaceUser.type)
&& Objects.equals(this.userId, workspaceUser.userId)
&& Objects.equals(this.userName, workspaceUser.userName)
&& Objects.equals(this.workspaceId, workspaceUser.workspaceId)
&& Objects.equals(this.workspaceUserBaseUrl, workspaceUser.workspaceUserBaseUrl)
&& Objects.equals(this.workspaceUserId, workspaceUser.workspaceUserId)
&& Objects.equals(this.workspaceUserUri, workspaceUser.workspaceUserUri);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(
accountId,
accountName,
activeSince,
created,
createdById,
email,
errorDetails,
invitationEmailBlurb,
invitationEmailSubject,
lastModified,
lastModifiedById,
status,
type,
userId,
userName,
workspaceId,
workspaceUserBaseUrl,
workspaceUserId,
workspaceUserUri);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WorkspaceUser {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n");
sb.append(" activeSince: ").append(toIndentedString(activeSince)).append("\n");
sb.append(" created: ").append(toIndentedString(created)).append("\n");
sb.append(" createdById: ").append(toIndentedString(createdById)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" errorDetails: ").append(toIndentedString(errorDetails)).append("\n");
sb.append(" invitationEmailBlurb: ")
.append(toIndentedString(invitationEmailBlurb))
.append("\n");
sb.append(" invitationEmailSubject: ")
.append(toIndentedString(invitationEmailSubject))
.append("\n");
sb.append(" lastModified: ").append(toIndentedString(lastModified)).append("\n");
sb.append(" lastModifiedById: ").append(toIndentedString(lastModifiedById)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" userName: ").append(toIndentedString(userName)).append("\n");
sb.append(" workspaceId: ").append(toIndentedString(workspaceId)).append("\n");
sb.append(" workspaceUserBaseUrl: ")
.append(toIndentedString(workspaceUserBaseUrl))
.append("\n");
sb.append(" workspaceUserId: ").append(toIndentedString(workspaceUserId)).append("\n");
sb.append(" workspaceUserUri: ").append(toIndentedString(workspaceUserUri)).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 ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy