com.docusign.esign.model.AccountPasswordRules 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 java.util.Arrays;
import com.docusign.esign.model.AccountMinimumPasswordLength;
import com.docusign.esign.model.AccountPasswordExpirePasswordDays;
import com.docusign.esign.model.AccountPasswordLockoutDurationMinutes;
import com.docusign.esign.model.AccountPasswordLockoutDurationType;
import com.docusign.esign.model.AccountPasswordMinimumPasswordAgeDays;
import com.docusign.esign.model.AccountPasswordQuestionsRequired;
import com.docusign.esign.model.AccountPasswordStrengthType;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* AccountPasswordRules
*/
public class AccountPasswordRules {
@JsonProperty("expirePassword")
private String expirePassword = null;
@JsonProperty("expirePasswordDays")
private String expirePasswordDays = null;
@JsonProperty("expirePasswordDaysMetadata")
private AccountPasswordExpirePasswordDays expirePasswordDaysMetadata = null;
@JsonProperty("lockoutDurationMinutes")
private String lockoutDurationMinutes = null;
@JsonProperty("lockoutDurationMinutesMetadata")
private AccountPasswordLockoutDurationMinutes lockoutDurationMinutesMetadata = null;
@JsonProperty("lockoutDurationType")
private String lockoutDurationType = null;
@JsonProperty("lockoutDurationTypeMetadata")
private AccountPasswordLockoutDurationType lockoutDurationTypeMetadata = null;
@JsonProperty("minimumPasswordAgeDays")
private String minimumPasswordAgeDays = null;
@JsonProperty("minimumPasswordAgeDaysMetadata")
private AccountPasswordMinimumPasswordAgeDays minimumPasswordAgeDaysMetadata = null;
@JsonProperty("minimumPasswordLength")
private String minimumPasswordLength = null;
@JsonProperty("minimumPasswordLengthMetadata")
private AccountMinimumPasswordLength minimumPasswordLengthMetadata = null;
@JsonProperty("passwordIncludeDigit")
private String passwordIncludeDigit = null;
@JsonProperty("passwordIncludeDigitOrSpecialCharacter")
private String passwordIncludeDigitOrSpecialCharacter = null;
@JsonProperty("passwordIncludeLowerCase")
private String passwordIncludeLowerCase = null;
@JsonProperty("passwordIncludeSpecialCharacter")
private String passwordIncludeSpecialCharacter = null;
@JsonProperty("passwordIncludeUpperCase")
private String passwordIncludeUpperCase = null;
@JsonProperty("passwordStrengthType")
private String passwordStrengthType = null;
@JsonProperty("passwordStrengthTypeMetadata")
private AccountPasswordStrengthType passwordStrengthTypeMetadata = null;
@JsonProperty("questionsRequired")
private String questionsRequired = null;
@JsonProperty("questionsRequiredMetadata")
private AccountPasswordQuestionsRequired questionsRequiredMetadata = null;
public AccountPasswordRules expirePassword(String expirePassword) {
this.expirePassword = expirePassword;
return this;
}
/**
*
* @return expirePassword
**/
@ApiModelProperty(value = "")
public String getExpirePassword() {
return expirePassword;
}
public void setExpirePassword(String expirePassword) {
this.expirePassword = expirePassword;
}
public AccountPasswordRules expirePasswordDays(String expirePasswordDays) {
this.expirePasswordDays = expirePasswordDays;
return this;
}
/**
*
* @return expirePasswordDays
**/
@ApiModelProperty(value = "")
public String getExpirePasswordDays() {
return expirePasswordDays;
}
public void setExpirePasswordDays(String expirePasswordDays) {
this.expirePasswordDays = expirePasswordDays;
}
public AccountPasswordRules expirePasswordDaysMetadata(AccountPasswordExpirePasswordDays expirePasswordDaysMetadata) {
this.expirePasswordDaysMetadata = expirePasswordDaysMetadata;
return this;
}
/**
* Get expirePasswordDaysMetadata
* @return expirePasswordDaysMetadata
**/
@ApiModelProperty(value = "")
public AccountPasswordExpirePasswordDays getExpirePasswordDaysMetadata() {
return expirePasswordDaysMetadata;
}
public void setExpirePasswordDaysMetadata(AccountPasswordExpirePasswordDays expirePasswordDaysMetadata) {
this.expirePasswordDaysMetadata = expirePasswordDaysMetadata;
}
public AccountPasswordRules lockoutDurationMinutes(String lockoutDurationMinutes) {
this.lockoutDurationMinutes = lockoutDurationMinutes;
return this;
}
/**
*
* @return lockoutDurationMinutes
**/
@ApiModelProperty(value = "")
public String getLockoutDurationMinutes() {
return lockoutDurationMinutes;
}
public void setLockoutDurationMinutes(String lockoutDurationMinutes) {
this.lockoutDurationMinutes = lockoutDurationMinutes;
}
public AccountPasswordRules lockoutDurationMinutesMetadata(AccountPasswordLockoutDurationMinutes lockoutDurationMinutesMetadata) {
this.lockoutDurationMinutesMetadata = lockoutDurationMinutesMetadata;
return this;
}
/**
* Get lockoutDurationMinutesMetadata
* @return lockoutDurationMinutesMetadata
**/
@ApiModelProperty(value = "")
public AccountPasswordLockoutDurationMinutes getLockoutDurationMinutesMetadata() {
return lockoutDurationMinutesMetadata;
}
public void setLockoutDurationMinutesMetadata(AccountPasswordLockoutDurationMinutes lockoutDurationMinutesMetadata) {
this.lockoutDurationMinutesMetadata = lockoutDurationMinutesMetadata;
}
public AccountPasswordRules lockoutDurationType(String lockoutDurationType) {
this.lockoutDurationType = lockoutDurationType;
return this;
}
/**
*
* @return lockoutDurationType
**/
@ApiModelProperty(value = "")
public String getLockoutDurationType() {
return lockoutDurationType;
}
public void setLockoutDurationType(String lockoutDurationType) {
this.lockoutDurationType = lockoutDurationType;
}
public AccountPasswordRules lockoutDurationTypeMetadata(AccountPasswordLockoutDurationType lockoutDurationTypeMetadata) {
this.lockoutDurationTypeMetadata = lockoutDurationTypeMetadata;
return this;
}
/**
* Get lockoutDurationTypeMetadata
* @return lockoutDurationTypeMetadata
**/
@ApiModelProperty(value = "")
public AccountPasswordLockoutDurationType getLockoutDurationTypeMetadata() {
return lockoutDurationTypeMetadata;
}
public void setLockoutDurationTypeMetadata(AccountPasswordLockoutDurationType lockoutDurationTypeMetadata) {
this.lockoutDurationTypeMetadata = lockoutDurationTypeMetadata;
}
public AccountPasswordRules minimumPasswordAgeDays(String minimumPasswordAgeDays) {
this.minimumPasswordAgeDays = minimumPasswordAgeDays;
return this;
}
/**
*
* @return minimumPasswordAgeDays
**/
@ApiModelProperty(value = "")
public String getMinimumPasswordAgeDays() {
return minimumPasswordAgeDays;
}
public void setMinimumPasswordAgeDays(String minimumPasswordAgeDays) {
this.minimumPasswordAgeDays = minimumPasswordAgeDays;
}
public AccountPasswordRules minimumPasswordAgeDaysMetadata(AccountPasswordMinimumPasswordAgeDays minimumPasswordAgeDaysMetadata) {
this.minimumPasswordAgeDaysMetadata = minimumPasswordAgeDaysMetadata;
return this;
}
/**
* Get minimumPasswordAgeDaysMetadata
* @return minimumPasswordAgeDaysMetadata
**/
@ApiModelProperty(value = "")
public AccountPasswordMinimumPasswordAgeDays getMinimumPasswordAgeDaysMetadata() {
return minimumPasswordAgeDaysMetadata;
}
public void setMinimumPasswordAgeDaysMetadata(AccountPasswordMinimumPasswordAgeDays minimumPasswordAgeDaysMetadata) {
this.minimumPasswordAgeDaysMetadata = minimumPasswordAgeDaysMetadata;
}
public AccountPasswordRules minimumPasswordLength(String minimumPasswordLength) {
this.minimumPasswordLength = minimumPasswordLength;
return this;
}
/**
*
* @return minimumPasswordLength
**/
@ApiModelProperty(value = "")
public String getMinimumPasswordLength() {
return minimumPasswordLength;
}
public void setMinimumPasswordLength(String minimumPasswordLength) {
this.minimumPasswordLength = minimumPasswordLength;
}
public AccountPasswordRules minimumPasswordLengthMetadata(AccountMinimumPasswordLength minimumPasswordLengthMetadata) {
this.minimumPasswordLengthMetadata = minimumPasswordLengthMetadata;
return this;
}
/**
* Get minimumPasswordLengthMetadata
* @return minimumPasswordLengthMetadata
**/
@ApiModelProperty(value = "")
public AccountMinimumPasswordLength getMinimumPasswordLengthMetadata() {
return minimumPasswordLengthMetadata;
}
public void setMinimumPasswordLengthMetadata(AccountMinimumPasswordLength minimumPasswordLengthMetadata) {
this.minimumPasswordLengthMetadata = minimumPasswordLengthMetadata;
}
public AccountPasswordRules passwordIncludeDigit(String passwordIncludeDigit) {
this.passwordIncludeDigit = passwordIncludeDigit;
return this;
}
/**
*
* @return passwordIncludeDigit
**/
@ApiModelProperty(value = "")
public String getPasswordIncludeDigit() {
return passwordIncludeDigit;
}
public void setPasswordIncludeDigit(String passwordIncludeDigit) {
this.passwordIncludeDigit = passwordIncludeDigit;
}
public AccountPasswordRules passwordIncludeDigitOrSpecialCharacter(String passwordIncludeDigitOrSpecialCharacter) {
this.passwordIncludeDigitOrSpecialCharacter = passwordIncludeDigitOrSpecialCharacter;
return this;
}
/**
*
* @return passwordIncludeDigitOrSpecialCharacter
**/
@ApiModelProperty(value = "")
public String getPasswordIncludeDigitOrSpecialCharacter() {
return passwordIncludeDigitOrSpecialCharacter;
}
public void setPasswordIncludeDigitOrSpecialCharacter(String passwordIncludeDigitOrSpecialCharacter) {
this.passwordIncludeDigitOrSpecialCharacter = passwordIncludeDigitOrSpecialCharacter;
}
public AccountPasswordRules passwordIncludeLowerCase(String passwordIncludeLowerCase) {
this.passwordIncludeLowerCase = passwordIncludeLowerCase;
return this;
}
/**
*
* @return passwordIncludeLowerCase
**/
@ApiModelProperty(value = "")
public String getPasswordIncludeLowerCase() {
return passwordIncludeLowerCase;
}
public void setPasswordIncludeLowerCase(String passwordIncludeLowerCase) {
this.passwordIncludeLowerCase = passwordIncludeLowerCase;
}
public AccountPasswordRules passwordIncludeSpecialCharacter(String passwordIncludeSpecialCharacter) {
this.passwordIncludeSpecialCharacter = passwordIncludeSpecialCharacter;
return this;
}
/**
*
* @return passwordIncludeSpecialCharacter
**/
@ApiModelProperty(value = "")
public String getPasswordIncludeSpecialCharacter() {
return passwordIncludeSpecialCharacter;
}
public void setPasswordIncludeSpecialCharacter(String passwordIncludeSpecialCharacter) {
this.passwordIncludeSpecialCharacter = passwordIncludeSpecialCharacter;
}
public AccountPasswordRules passwordIncludeUpperCase(String passwordIncludeUpperCase) {
this.passwordIncludeUpperCase = passwordIncludeUpperCase;
return this;
}
/**
*
* @return passwordIncludeUpperCase
**/
@ApiModelProperty(value = "")
public String getPasswordIncludeUpperCase() {
return passwordIncludeUpperCase;
}
public void setPasswordIncludeUpperCase(String passwordIncludeUpperCase) {
this.passwordIncludeUpperCase = passwordIncludeUpperCase;
}
public AccountPasswordRules passwordStrengthType(String passwordStrengthType) {
this.passwordStrengthType = passwordStrengthType;
return this;
}
/**
*
* @return passwordStrengthType
**/
@ApiModelProperty(value = "")
public String getPasswordStrengthType() {
return passwordStrengthType;
}
public void setPasswordStrengthType(String passwordStrengthType) {
this.passwordStrengthType = passwordStrengthType;
}
public AccountPasswordRules passwordStrengthTypeMetadata(AccountPasswordStrengthType passwordStrengthTypeMetadata) {
this.passwordStrengthTypeMetadata = passwordStrengthTypeMetadata;
return this;
}
/**
* Get passwordStrengthTypeMetadata
* @return passwordStrengthTypeMetadata
**/
@ApiModelProperty(value = "")
public AccountPasswordStrengthType getPasswordStrengthTypeMetadata() {
return passwordStrengthTypeMetadata;
}
public void setPasswordStrengthTypeMetadata(AccountPasswordStrengthType passwordStrengthTypeMetadata) {
this.passwordStrengthTypeMetadata = passwordStrengthTypeMetadata;
}
public AccountPasswordRules questionsRequired(String questionsRequired) {
this.questionsRequired = questionsRequired;
return this;
}
/**
*
* @return questionsRequired
**/
@ApiModelProperty(value = "")
public String getQuestionsRequired() {
return questionsRequired;
}
public void setQuestionsRequired(String questionsRequired) {
this.questionsRequired = questionsRequired;
}
public AccountPasswordRules questionsRequiredMetadata(AccountPasswordQuestionsRequired questionsRequiredMetadata) {
this.questionsRequiredMetadata = questionsRequiredMetadata;
return this;
}
/**
* Get questionsRequiredMetadata
* @return questionsRequiredMetadata
**/
@ApiModelProperty(value = "")
public AccountPasswordQuestionsRequired getQuestionsRequiredMetadata() {
return questionsRequiredMetadata;
}
public void setQuestionsRequiredMetadata(AccountPasswordQuestionsRequired questionsRequiredMetadata) {
this.questionsRequiredMetadata = questionsRequiredMetadata;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AccountPasswordRules accountPasswordRules = (AccountPasswordRules) o;
return Objects.equals(this.expirePassword, accountPasswordRules.expirePassword) &&
Objects.equals(this.expirePasswordDays, accountPasswordRules.expirePasswordDays) &&
Objects.equals(this.expirePasswordDaysMetadata, accountPasswordRules.expirePasswordDaysMetadata) &&
Objects.equals(this.lockoutDurationMinutes, accountPasswordRules.lockoutDurationMinutes) &&
Objects.equals(this.lockoutDurationMinutesMetadata, accountPasswordRules.lockoutDurationMinutesMetadata) &&
Objects.equals(this.lockoutDurationType, accountPasswordRules.lockoutDurationType) &&
Objects.equals(this.lockoutDurationTypeMetadata, accountPasswordRules.lockoutDurationTypeMetadata) &&
Objects.equals(this.minimumPasswordAgeDays, accountPasswordRules.minimumPasswordAgeDays) &&
Objects.equals(this.minimumPasswordAgeDaysMetadata, accountPasswordRules.minimumPasswordAgeDaysMetadata) &&
Objects.equals(this.minimumPasswordLength, accountPasswordRules.minimumPasswordLength) &&
Objects.equals(this.minimumPasswordLengthMetadata, accountPasswordRules.minimumPasswordLengthMetadata) &&
Objects.equals(this.passwordIncludeDigit, accountPasswordRules.passwordIncludeDigit) &&
Objects.equals(this.passwordIncludeDigitOrSpecialCharacter, accountPasswordRules.passwordIncludeDigitOrSpecialCharacter) &&
Objects.equals(this.passwordIncludeLowerCase, accountPasswordRules.passwordIncludeLowerCase) &&
Objects.equals(this.passwordIncludeSpecialCharacter, accountPasswordRules.passwordIncludeSpecialCharacter) &&
Objects.equals(this.passwordIncludeUpperCase, accountPasswordRules.passwordIncludeUpperCase) &&
Objects.equals(this.passwordStrengthType, accountPasswordRules.passwordStrengthType) &&
Objects.equals(this.passwordStrengthTypeMetadata, accountPasswordRules.passwordStrengthTypeMetadata) &&
Objects.equals(this.questionsRequired, accountPasswordRules.questionsRequired) &&
Objects.equals(this.questionsRequiredMetadata, accountPasswordRules.questionsRequiredMetadata);
}
@Override
public int hashCode() {
return Objects.hash(expirePassword, expirePasswordDays, expirePasswordDaysMetadata, lockoutDurationMinutes, lockoutDurationMinutesMetadata, lockoutDurationType, lockoutDurationTypeMetadata, minimumPasswordAgeDays, minimumPasswordAgeDaysMetadata, minimumPasswordLength, minimumPasswordLengthMetadata, passwordIncludeDigit, passwordIncludeDigitOrSpecialCharacter, passwordIncludeLowerCase, passwordIncludeSpecialCharacter, passwordIncludeUpperCase, passwordStrengthType, passwordStrengthTypeMetadata, questionsRequired, questionsRequiredMetadata);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountPasswordRules {\n");
sb.append(" expirePassword: ").append(toIndentedString(expirePassword)).append("\n");
sb.append(" expirePasswordDays: ").append(toIndentedString(expirePasswordDays)).append("\n");
sb.append(" expirePasswordDaysMetadata: ").append(toIndentedString(expirePasswordDaysMetadata)).append("\n");
sb.append(" lockoutDurationMinutes: ").append(toIndentedString(lockoutDurationMinutes)).append("\n");
sb.append(" lockoutDurationMinutesMetadata: ").append(toIndentedString(lockoutDurationMinutesMetadata)).append("\n");
sb.append(" lockoutDurationType: ").append(toIndentedString(lockoutDurationType)).append("\n");
sb.append(" lockoutDurationTypeMetadata: ").append(toIndentedString(lockoutDurationTypeMetadata)).append("\n");
sb.append(" minimumPasswordAgeDays: ").append(toIndentedString(minimumPasswordAgeDays)).append("\n");
sb.append(" minimumPasswordAgeDaysMetadata: ").append(toIndentedString(minimumPasswordAgeDaysMetadata)).append("\n");
sb.append(" minimumPasswordLength: ").append(toIndentedString(minimumPasswordLength)).append("\n");
sb.append(" minimumPasswordLengthMetadata: ").append(toIndentedString(minimumPasswordLengthMetadata)).append("\n");
sb.append(" passwordIncludeDigit: ").append(toIndentedString(passwordIncludeDigit)).append("\n");
sb.append(" passwordIncludeDigitOrSpecialCharacter: ").append(toIndentedString(passwordIncludeDigitOrSpecialCharacter)).append("\n");
sb.append(" passwordIncludeLowerCase: ").append(toIndentedString(passwordIncludeLowerCase)).append("\n");
sb.append(" passwordIncludeSpecialCharacter: ").append(toIndentedString(passwordIncludeSpecialCharacter)).append("\n");
sb.append(" passwordIncludeUpperCase: ").append(toIndentedString(passwordIncludeUpperCase)).append("\n");
sb.append(" passwordStrengthType: ").append(toIndentedString(passwordStrengthType)).append("\n");
sb.append(" passwordStrengthTypeMetadata: ").append(toIndentedString(passwordStrengthTypeMetadata)).append("\n");
sb.append(" questionsRequired: ").append(toIndentedString(questionsRequired)).append("\n");
sb.append(" questionsRequiredMetadata: ").append(toIndentedString(questionsRequiredMetadata)).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 ");
}
}