com.docusign.esign.model.ProvisioningInformation 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;
/** ProvisioningInformation. */
public class ProvisioningInformation {
@JsonProperty("defaultConnectionId")
private String defaultConnectionId = null;
@JsonProperty("defaultPlanId")
private String defaultPlanId = null;
@JsonProperty("distributorCode")
private String distributorCode = null;
@JsonProperty("distributorPassword")
private String distributorPassword = null;
@JsonProperty("passwordRuleText")
private String passwordRuleText = null;
@JsonProperty("planPromotionText")
private String planPromotionText = null;
@JsonProperty("purchaseOrderOrPromAllowed")
private String purchaseOrderOrPromAllowed = null;
/**
* defaultConnectionId.
*
* @return ProvisioningInformation
*/
public ProvisioningInformation defaultConnectionId(String defaultConnectionId) {
this.defaultConnectionId = defaultConnectionId;
return this;
}
/**
* .
*
* @return defaultConnectionId
*/
@Schema(description = "")
public String getDefaultConnectionId() {
return defaultConnectionId;
}
/** setDefaultConnectionId. */
public void setDefaultConnectionId(String defaultConnectionId) {
this.defaultConnectionId = defaultConnectionId;
}
/**
* defaultPlanId.
*
* @return ProvisioningInformation
*/
public ProvisioningInformation defaultPlanId(String defaultPlanId) {
this.defaultPlanId = defaultPlanId;
return this;
}
/**
* .
*
* @return defaultPlanId
*/
@Schema(description = "")
public String getDefaultPlanId() {
return defaultPlanId;
}
/** setDefaultPlanId. */
public void setDefaultPlanId(String defaultPlanId) {
this.defaultPlanId = defaultPlanId;
}
/**
* distributorCode.
*
* @return ProvisioningInformation
*/
public ProvisioningInformation distributorCode(String distributorCode) {
this.distributorCode = distributorCode;
return this;
}
/**
* The code that identifies the billing plan groups and plans for the new account..
*
* @return distributorCode
*/
@Schema(
description =
"The code that identifies the billing plan groups and plans for the new account.")
public String getDistributorCode() {
return distributorCode;
}
/** setDistributorCode. */
public void setDistributorCode(String distributorCode) {
this.distributorCode = distributorCode;
}
/**
* distributorPassword.
*
* @return ProvisioningInformation
*/
public ProvisioningInformation distributorPassword(String distributorPassword) {
this.distributorPassword = distributorPassword;
return this;
}
/**
* The password for the distributorCode..
*
* @return distributorPassword
*/
@Schema(description = "The password for the distributorCode.")
public String getDistributorPassword() {
return distributorPassword;
}
/** setDistributorPassword. */
public void setDistributorPassword(String distributorPassword) {
this.distributorPassword = distributorPassword;
}
/**
* passwordRuleText.
*
* @return ProvisioningInformation
*/
public ProvisioningInformation passwordRuleText(String passwordRuleText) {
this.passwordRuleText = passwordRuleText;
return this;
}
/**
* .
*
* @return passwordRuleText
*/
@Schema(description = "")
public String getPasswordRuleText() {
return passwordRuleText;
}
/** setPasswordRuleText. */
public void setPasswordRuleText(String passwordRuleText) {
this.passwordRuleText = passwordRuleText;
}
/**
* planPromotionText.
*
* @return ProvisioningInformation
*/
public ProvisioningInformation planPromotionText(String planPromotionText) {
this.planPromotionText = planPromotionText;
return this;
}
/**
* .
*
* @return planPromotionText
*/
@Schema(description = "")
public String getPlanPromotionText() {
return planPromotionText;
}
/** setPlanPromotionText. */
public void setPlanPromotionText(String planPromotionText) {
this.planPromotionText = planPromotionText;
}
/**
* purchaseOrderOrPromAllowed.
*
* @return ProvisioningInformation
*/
public ProvisioningInformation purchaseOrderOrPromAllowed(String purchaseOrderOrPromAllowed) {
this.purchaseOrderOrPromAllowed = purchaseOrderOrPromAllowed;
return this;
}
/**
* .
*
* @return purchaseOrderOrPromAllowed
*/
@Schema(description = "")
public String getPurchaseOrderOrPromAllowed() {
return purchaseOrderOrPromAllowed;
}
/** setPurchaseOrderOrPromAllowed. */
public void setPurchaseOrderOrPromAllowed(String purchaseOrderOrPromAllowed) {
this.purchaseOrderOrPromAllowed = purchaseOrderOrPromAllowed;
}
/**
* 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;
}
ProvisioningInformation provisioningInformation = (ProvisioningInformation) o;
return Objects.equals(this.defaultConnectionId, provisioningInformation.defaultConnectionId)
&& Objects.equals(this.defaultPlanId, provisioningInformation.defaultPlanId)
&& Objects.equals(this.distributorCode, provisioningInformation.distributorCode)
&& Objects.equals(this.distributorPassword, provisioningInformation.distributorPassword)
&& Objects.equals(this.passwordRuleText, provisioningInformation.passwordRuleText)
&& Objects.equals(this.planPromotionText, provisioningInformation.planPromotionText)
&& Objects.equals(
this.purchaseOrderOrPromAllowed, provisioningInformation.purchaseOrderOrPromAllowed);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(
defaultConnectionId,
defaultPlanId,
distributorCode,
distributorPassword,
passwordRuleText,
planPromotionText,
purchaseOrderOrPromAllowed);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProvisioningInformation {\n");
sb.append(" defaultConnectionId: ")
.append(toIndentedString(defaultConnectionId))
.append("\n");
sb.append(" defaultPlanId: ").append(toIndentedString(defaultPlanId)).append("\n");
sb.append(" distributorCode: ").append(toIndentedString(distributorCode)).append("\n");
sb.append(" distributorPassword: ")
.append(toIndentedString(distributorPassword))
.append("\n");
sb.append(" passwordRuleText: ").append(toIndentedString(passwordRuleText)).append("\n");
sb.append(" planPromotionText: ").append(toIndentedString(planPromotionText)).append("\n");
sb.append(" purchaseOrderOrPromAllowed: ")
.append(toIndentedString(purchaseOrderOrPromAllowed))
.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