com.docusign.esign.model.UserProfile 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.1 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 java.util.Objects;
import com.docusign.esign.model.AddressInformationV2;
import com.docusign.esign.model.AuthenticationMethod;
import com.docusign.esign.model.UsageHistory;
import com.docusign.esign.model.UserInformation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* UserProfile
*/
public class UserProfile {
@JsonProperty("address")
private AddressInformationV2 address = null;
@JsonProperty("authenticationMethods")
private java.util.List authenticationMethods = new java.util.ArrayList();
@JsonProperty("companyName")
private String companyName = null;
@JsonProperty("displayOrganizationInfo")
private String displayOrganizationInfo = null;
@JsonProperty("displayPersonalInfo")
private String displayPersonalInfo = null;
@JsonProperty("displayProfile")
private String displayProfile = null;
@JsonProperty("displayUsageHistory")
private String displayUsageHistory = null;
@JsonProperty("profileImageUri")
private String profileImageUri = null;
@JsonProperty("title")
private String title = null;
@JsonProperty("usageHistory")
private UsageHistory usageHistory = null;
@JsonProperty("userDetails")
private UserInformation userDetails = null;
@JsonProperty("userProfileLastModifiedDate")
private String userProfileLastModifiedDate = null;
public UserProfile address(AddressInformationV2 address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@ApiModelProperty(example = "null", value = "")
public AddressInformationV2 getAddress() {
return address;
}
public void setAddress(AddressInformationV2 address) {
this.address = address;
}
public UserProfile authenticationMethods(java.util.List authenticationMethods) {
this.authenticationMethods = authenticationMethods;
return this;
}
public UserProfile addAuthenticationMethodsItem(AuthenticationMethod authenticationMethodsItem) {
this.authenticationMethods.add(authenticationMethodsItem);
return this;
}
/**
* These properties cannot be modified in the PUT. Indicates the authentication methods used by the user.
* @return authenticationMethods
**/
@ApiModelProperty(example = "null", value = "These properties cannot be modified in the PUT. Indicates the authentication methods used by the user.")
public java.util.List getAuthenticationMethods() {
return authenticationMethods;
}
public void setAuthenticationMethods(java.util.List authenticationMethods) {
this.authenticationMethods = authenticationMethods;
}
public UserProfile companyName(String companyName) {
this.companyName = companyName;
return this;
}
/**
* The name of the user's Company.
* @return companyName
**/
@ApiModelProperty(example = "null", value = "The name of the user's Company.")
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
public UserProfile displayOrganizationInfo(String displayOrganizationInfo) {
this.displayOrganizationInfo = displayOrganizationInfo;
return this;
}
/**
* When set to **true**, the user's company and title information are shown on the ID card.
* @return displayOrganizationInfo
**/
@ApiModelProperty(example = "null", value = " When set to **true**, the user's company and title information are shown on the ID card. ")
public String getDisplayOrganizationInfo() {
return displayOrganizationInfo;
}
public void setDisplayOrganizationInfo(String displayOrganizationInfo) {
this.displayOrganizationInfo = displayOrganizationInfo;
}
public UserProfile displayPersonalInfo(String displayPersonalInfo) {
this.displayPersonalInfo = displayPersonalInfo;
return this;
}
/**
* When set to **true**, the user's Address and Phone number are shown on the ID card.
* @return displayPersonalInfo
**/
@ApiModelProperty(example = "null", value = "When set to **true**, the user's Address and Phone number are shown on the ID card.")
public String getDisplayPersonalInfo() {
return displayPersonalInfo;
}
public void setDisplayPersonalInfo(String displayPersonalInfo) {
this.displayPersonalInfo = displayPersonalInfo;
}
public UserProfile displayProfile(String displayProfile) {
this.displayProfile = displayProfile;
return this;
}
/**
* When set to **true**, the user's ID card can be viewed from signed documents and envelope history.
* @return displayProfile
**/
@ApiModelProperty(example = "null", value = "When set to **true**, the user's ID card can be viewed from signed documents and envelope history.")
public String getDisplayProfile() {
return displayProfile;
}
public void setDisplayProfile(String displayProfile) {
this.displayProfile = displayProfile;
}
public UserProfile displayUsageHistory(String displayUsageHistory) {
this.displayUsageHistory = displayUsageHistory;
return this;
}
/**
* When set to **true**, the user's usage information is shown on the ID card.
* @return displayUsageHistory
**/
@ApiModelProperty(example = "null", value = "When set to **true**, the user's usage information is shown on the ID card.")
public String getDisplayUsageHistory() {
return displayUsageHistory;
}
public void setDisplayUsageHistory(String displayUsageHistory) {
this.displayUsageHistory = displayUsageHistory;
}
public UserProfile profileImageUri(String profileImageUri) {
this.profileImageUri = profileImageUri;
return this;
}
/**
*
* @return profileImageUri
**/
@ApiModelProperty(example = "null", value = "")
public String getProfileImageUri() {
return profileImageUri;
}
public void setProfileImageUri(String profileImageUri) {
this.profileImageUri = profileImageUri;
}
public UserProfile title(String title) {
this.title = title;
return this;
}
/**
*
* @return title
**/
@ApiModelProperty(example = "null", value = "")
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public UserProfile usageHistory(UsageHistory usageHistory) {
this.usageHistory = usageHistory;
return this;
}
/**
* Get usageHistory
* @return usageHistory
**/
@ApiModelProperty(example = "null", value = "")
public UsageHistory getUsageHistory() {
return usageHistory;
}
public void setUsageHistory(UsageHistory usageHistory) {
this.usageHistory = usageHistory;
}
public UserProfile userDetails(UserInformation userDetails) {
this.userDetails = userDetails;
return this;
}
/**
* Get userDetails
* @return userDetails
**/
@ApiModelProperty(example = "null", value = "")
public UserInformation getUserDetails() {
return userDetails;
}
public void setUserDetails(UserInformation userDetails) {
this.userDetails = userDetails;
}
public UserProfile userProfileLastModifiedDate(String userProfileLastModifiedDate) {
this.userProfileLastModifiedDate = userProfileLastModifiedDate;
return this;
}
/**
*
* @return userProfileLastModifiedDate
**/
@ApiModelProperty(example = "null", value = "")
public String getUserProfileLastModifiedDate() {
return userProfileLastModifiedDate;
}
public void setUserProfileLastModifiedDate(String userProfileLastModifiedDate) {
this.userProfileLastModifiedDate = userProfileLastModifiedDate;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UserProfile userProfile = (UserProfile) o;
return Objects.equals(this.address, userProfile.address) &&
Objects.equals(this.authenticationMethods, userProfile.authenticationMethods) &&
Objects.equals(this.companyName, userProfile.companyName) &&
Objects.equals(this.displayOrganizationInfo, userProfile.displayOrganizationInfo) &&
Objects.equals(this.displayPersonalInfo, userProfile.displayPersonalInfo) &&
Objects.equals(this.displayProfile, userProfile.displayProfile) &&
Objects.equals(this.displayUsageHistory, userProfile.displayUsageHistory) &&
Objects.equals(this.profileImageUri, userProfile.profileImageUri) &&
Objects.equals(this.title, userProfile.title) &&
Objects.equals(this.usageHistory, userProfile.usageHistory) &&
Objects.equals(this.userDetails, userProfile.userDetails) &&
Objects.equals(this.userProfileLastModifiedDate, userProfile.userProfileLastModifiedDate);
}
@Override
public int hashCode() {
return Objects.hash(address, authenticationMethods, companyName, displayOrganizationInfo, displayPersonalInfo, displayProfile, displayUsageHistory, profileImageUri, title, usageHistory, userDetails, userProfileLastModifiedDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserProfile {\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append(" authenticationMethods: ").append(toIndentedString(authenticationMethods)).append("\n");
sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n");
sb.append(" displayOrganizationInfo: ").append(toIndentedString(displayOrganizationInfo)).append("\n");
sb.append(" displayPersonalInfo: ").append(toIndentedString(displayPersonalInfo)).append("\n");
sb.append(" displayProfile: ").append(toIndentedString(displayProfile)).append("\n");
sb.append(" displayUsageHistory: ").append(toIndentedString(displayUsageHistory)).append("\n");
sb.append(" profileImageUri: ").append(toIndentedString(profileImageUri)).append("\n");
sb.append(" title: ").append(toIndentedString(title)).append("\n");
sb.append(" usageHistory: ").append(toIndentedString(usageHistory)).append("\n");
sb.append(" userDetails: ").append(toIndentedString(userDetails)).append("\n");
sb.append(" userProfileLastModifiedDate: ").append(toIndentedString(userProfileLastModifiedDate)).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 ");
}
}