Skip to content

Commit

Permalink
Version 2.22.0-RC1-v2-21.2.00.00 release (#200)
Browse files Browse the repository at this point in the history
Co-authored-by: DevCenter-DocuSign <[email protected]>
  • Loading branch information
mmallis87 and DevCenter-DocuSign authored Jul 12, 2021
1 parent ddf9b66 commit 3c33d70
Show file tree
Hide file tree
Showing 8 changed files with 219 additions and 12 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# DocuSign Java Client Changelog
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.

## [v2.21.1] - eSignature API v2.-21.1.02.00 - 2021-07-07
## [v2.22.0-RC1] - eSignature API v2-21.2.00.00 - 2021-07-09
### Changed
- Added support for version v2-21.2.00.00 of the DocuSign eSignature API.
- Updated the SDK release version.

## [v2.21.1] - eSignature API v2-21.1.02.00 - 2021-07-07
### Fixed
- Issue [`#194`](https://github.com/docusign/docusign-java-client/issues/194): Error Reading Entity from Input Stream. (DCM-5802)

## [v2.21.1-RC1] - eSignature API v2.-21.1.02.00 - 2021-05-28
## [v2.21.1-RC1] - eSignature API v2-21.1.02.00 - 2021-05-28
### Fixed
- Issue [`#194`](https://github.com/docusign/docusign-java-client/issues/194): Error Reading Entity from Input Stream. (DCM-5802)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This SDK is provided as open source, which enables you to customize its function
<dependency>
<groupId>com.docusign</groupId>
<artifactId>docusign-esign-java</artifactId>
<version>2.21.1</version>
<version>2.22.0-RC1</version>
</dependency>
```
8. If your project is still open, restart Eclipse.
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'

group = 'com.docusign'
version = '2.21.1'
version = '2.22.0-RC1'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<artifactId>docusign-esign-java</artifactId>
<packaging>jar</packaging>
<name>docusign-esign-java</name>
<version>2.21.1</version>
<version>2.22.0-RC1</version>
<description>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.</description>
<url>https://developers.docusign.com</url>

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/docusign/esign/client/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public ApiClient() {
this.dateFormat = new RFC3339DateFormat();

// Set default User-Agent.
setUserAgent("Swagger-Codegen/2.21.1/java");
setUserAgent("Swagger-Codegen/2.22.0-RC1/java");

// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<String, Authentication>();
Expand Down
48 changes: 47 additions & 1 deletion src/main/java/com/docusign/esign/model/AccountBillingPlan.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ public class AccountBillingPlan {
@JsonProperty("planName")
private String planName = null;

@JsonProperty("planStartDate")
private String planStartDate = null;

@JsonProperty("renewalDate")
private String renewalDate = null;

@JsonProperty("renewalStatus")
private String renewalStatus = null;

Expand Down Expand Up @@ -444,6 +450,42 @@ public void setPlanName(String planName) {
this.planName = planName;
}

public AccountBillingPlan planStartDate(String planStartDate) {
this.planStartDate = planStartDate;
return this;
}

/**
*
* @return planStartDate
**/
@ApiModelProperty(value = "")
public String getPlanStartDate() {
return planStartDate;
}

public void setPlanStartDate(String planStartDate) {
this.planStartDate = planStartDate;
}

public AccountBillingPlan renewalDate(String renewalDate) {
this.renewalDate = renewalDate;
return this;
}

/**
*
* @return renewalDate
**/
@ApiModelProperty(value = "")
public String getRenewalDate() {
return renewalDate;
}

public void setRenewalDate(String renewalDate) {
this.renewalDate = renewalDate;
}

public AccountBillingPlan renewalStatus(String renewalStatus) {
this.renewalStatus = renewalStatus;
return this;
Expand Down Expand Up @@ -553,6 +595,8 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.planFeatureSets, accountBillingPlan.planFeatureSets) &&
Objects.equals(this.planId, accountBillingPlan.planId) &&
Objects.equals(this.planName, accountBillingPlan.planName) &&
Objects.equals(this.planStartDate, accountBillingPlan.planStartDate) &&
Objects.equals(this.renewalDate, accountBillingPlan.renewalDate) &&
Objects.equals(this.renewalStatus, accountBillingPlan.renewalStatus) &&
Objects.equals(this.seatDiscounts, accountBillingPlan.seatDiscounts) &&
Objects.equals(this.supportIncidentFee, accountBillingPlan.supportIncidentFee) &&
Expand All @@ -561,7 +605,7 @@ public boolean equals(java.lang.Object o) {

@Override
public int hashCode() {
return Objects.hash(addOns, appStoreReceiptExpirationDate, appStoreReceiptPurchaseDate, canCancelRenewal, canUpgrade, currencyCode, enableSupport, includedSeats, incrementalSeats, isDowngrade, notificationType, otherDiscountPercent, paymentCycle, paymentMethod, perSeatPrice, planClassification, planFeatureSets, planId, planName, renewalStatus, seatDiscounts, supportIncidentFee, supportPlanFee);
return Objects.hash(addOns, appStoreReceiptExpirationDate, appStoreReceiptPurchaseDate, canCancelRenewal, canUpgrade, currencyCode, enableSupport, includedSeats, incrementalSeats, isDowngrade, notificationType, otherDiscountPercent, paymentCycle, paymentMethod, perSeatPrice, planClassification, planFeatureSets, planId, planName, planStartDate, renewalDate, renewalStatus, seatDiscounts, supportIncidentFee, supportPlanFee);
}


Expand Down Expand Up @@ -589,6 +633,8 @@ public String toString() {
sb.append(" planFeatureSets: ").append(toIndentedString(planFeatureSets)).append("\n");
sb.append(" planId: ").append(toIndentedString(planId)).append("\n");
sb.append(" planName: ").append(toIndentedString(planName)).append("\n");
sb.append(" planStartDate: ").append(toIndentedString(planStartDate)).append("\n");
sb.append(" renewalDate: ").append(toIndentedString(renewalDate)).append("\n");
sb.append(" renewalStatus: ").append(toIndentedString(renewalStatus)).append("\n");
sb.append(" seatDiscounts: ").append(toIndentedString(seatDiscounts)).append("\n");
sb.append(" supportIncidentFee: ").append(toIndentedString(supportIncidentFee)).append("\n");
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/com/docusign/esign/model/EnvelopeFormData.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import java.util.Objects;
import java.util.Arrays;
import com.docusign.esign.model.EnvelopeFormDataPrefillFormData;
import com.docusign.esign.model.NameValue;
import com.docusign.esign.model.PrefillFormData;
import com.docusign.esign.model.RecipientFormData;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
Expand All @@ -26,7 +26,7 @@ public class EnvelopeFormData {
private java.util.List<NameValue> formData = null;

@JsonProperty("prefillFormData")
private EnvelopeFormDataPrefillFormData prefillFormData = null;
private PrefillFormData prefillFormData = null;

@JsonProperty("recipientFormData")
private java.util.List<RecipientFormData> recipientFormData = null;
Expand Down Expand Up @@ -99,7 +99,7 @@ public void setFormData(java.util.List<NameValue> formData) {
this.formData = formData;
}

public EnvelopeFormData prefillFormData(EnvelopeFormDataPrefillFormData prefillFormData) {
public EnvelopeFormData prefillFormData(PrefillFormData prefillFormData) {
this.prefillFormData = prefillFormData;
return this;
}
Expand All @@ -109,11 +109,11 @@ public EnvelopeFormData prefillFormData(EnvelopeFormDataPrefillFormData prefillF
* @return prefillFormData
**/
@ApiModelProperty(value = "")
public EnvelopeFormDataPrefillFormData getPrefillFormData() {
public PrefillFormData getPrefillFormData() {
return prefillFormData;
}

public void setPrefillFormData(EnvelopeFormDataPrefillFormData prefillFormData) {
public void setPrefillFormData(PrefillFormData prefillFormData) {
this.prefillFormData = prefillFormData;
}

Expand Down
156 changes: 156 additions & 0 deletions src/main/java/com/docusign/esign/model/PrefillFormData.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
package com.docusign.esign.model;

import java.util.Objects;
import java.util.Arrays;
import com.docusign.esign.model.NameValue;
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;

/**
* PrefillFormData
*/

public class PrefillFormData {
@JsonProperty("formData")
private java.util.List<NameValue> formData = null;

@JsonProperty("senderEmail")
private String senderEmail = null;

@JsonProperty("senderName")
private String senderName = null;

@JsonProperty("senderUserId")
private String senderUserId = null;

public PrefillFormData formData(java.util.List<NameValue> formData) {
this.formData = formData;
return this;
}

public PrefillFormData addFormDataItem(NameValue formDataItem) {
if (this.formData == null) {
this.formData = new java.util.ArrayList<NameValue>();
}
this.formData.add(formDataItem);
return this;
}

/**
*
* @return formData
**/
@ApiModelProperty(value = "")
public java.util.List<NameValue> getFormData() {
return formData;
}

public void setFormData(java.util.List<NameValue> formData) {
this.formData = formData;
}

public PrefillFormData senderEmail(String senderEmail) {
this.senderEmail = senderEmail;
return this;
}

/**
*
* @return senderEmail
**/
@ApiModelProperty(value = "")
public String getSenderEmail() {
return senderEmail;
}

public void setSenderEmail(String senderEmail) {
this.senderEmail = senderEmail;
}

public PrefillFormData senderName(String senderName) {
this.senderName = senderName;
return this;
}

/**
*
* @return senderName
**/
@ApiModelProperty(value = "")
public String getSenderName() {
return senderName;
}

public void setSenderName(String senderName) {
this.senderName = senderName;
}

public PrefillFormData senderUserId(String senderUserId) {
this.senderUserId = senderUserId;
return this;
}

/**
*
* @return senderUserId
**/
@ApiModelProperty(value = "")
public String getSenderUserId() {
return senderUserId;
}

public void setSenderUserId(String senderUserId) {
this.senderUserId = senderUserId;
}


@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PrefillFormData prefillFormData = (PrefillFormData) o;
return Objects.equals(this.formData, prefillFormData.formData) &&
Objects.equals(this.senderEmail, prefillFormData.senderEmail) &&
Objects.equals(this.senderName, prefillFormData.senderName) &&
Objects.equals(this.senderUserId, prefillFormData.senderUserId);
}

@Override
public int hashCode() {
return Objects.hash(formData, senderEmail, senderName, senderUserId);
}


@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PrefillFormData {\n");

sb.append(" formData: ").append(toIndentedString(formData)).append("\n");
sb.append(" senderEmail: ").append(toIndentedString(senderEmail)).append("\n");
sb.append(" senderName: ").append(toIndentedString(senderName)).append("\n");
sb.append(" senderUserId: ").append(toIndentedString(senderUserId)).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 ");
}

}

0 comments on commit 3c33d70

Please sign in to comment.