Skip to content

Commit f3e6bc7

Browse files
kenharrisosidenate
andauthored
Version 4.2.0 release (#263)
* Version 4.2.0-v2.1-23.1.01.01 release * Remove maven debug flag --------- Co-authored-by: Ken Harris <[email protected]> Co-authored-by: Nathan Nelson <[email protected]>
1 parent fdc91c7 commit f3e6bc7

17 files changed

+3090
-18
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# DocuSign Java Client Changelog
22
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
33

4+
## [v4.2.0] - eSignature API v2.1-23.1.01.01 - 2023-04-05
5+
### Changed
6+
- Added support for version v2.1-23.1.01.01 of the DocuSign ESignature API.
7+
- Updated the SDK release version.
8+
49
## [v4.1.0] - eSignature API v2.1-23.1.01.00 - 2023-03-17
510
### Changed
611
- Added support for version v2.1-23.1.01.00 of the DocuSign ESignature API.

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,17 @@ This SDK is provided as open source, which enables you to customize its function
3434
3535
## Dependencies
3636
This client has the following external dependencies:
37-
* io.swagger.core.v3:swagger-annotations:jar:2.2.8
38-
* org.glassfish.jersey.core:jersey-client:jar:3.0.9
39-
* org.glassfish.jersey.media:jersey-media-multipart:jar:3.0.9
40-
* org.glassfish.jersey.media:jersey-media-json-jackson:jar:3.0.9
41-
* org.glassfish.jersey.inject:jersey-hk2:jar:3.0.9
42-
* com.fasterxml.jackson.jakarta.rs:jackson-jakarta-rs-base:jar:2.14.2
43-
* apache.oltu.oauth2:org.apache.oltu.oauth2.client:jar:1.0.2
44-
* com.auth0:java-jwt:jar:3.4.1
45-
* org.bouncycastle:bcprov-jdk15on:jar:1.69
46-
* com.fasterxml.jackson.dataformat:jackson-dataformat-csv:jar:2.14.2
47-
* com.fasterxml.jackson.dataformat:jackson-datatype-jsr310:jar:2.14.2
48-
* com.brsanthu:migbase64:jar:2.2
49-
* jakarta.ws.rs:jakarta.ws.rs-api:jar:3.1.0
37+
* io.swagger:swagger-annotations:jar:1.5.17
38+
* org.glassfish.jersey.core:jersey-client:jar:2.29.1
39+
* org.glassfish.jersey.media:jersey-media-multipart:jar:2.29.1
40+
* org.glassfish.jersey.media:jersey-media-json-jackson:2.29.1
41+
* com.fasterxml.jackson.core:jackson-core:jar:2.12.1
42+
* com.fasterxml.jackson.core:jackson-annotations:jar:2.12.1
43+
* com.fasterxml.jackson.core:jackson-databind:2.12.1
44+
* junit:junit:jar:4.13.1
45+
* com.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2
46+
* com.auth0:java-jwt:3.4.1
47+
* org.bouncycastle:bcprov-jdk15on:1.60
5048
5149
## Code examples
5250
You can find on our GitHub a self-executing package of code examples for the eSignature Java SDK, called a [Launcher](https://github.com/docusign/code-examples-java/blob/master/README.md), that demonstrates common use cases. You can also download a version preconfigured for your DocuSign developer account from [Quickstart](https://developers.docusign.com/docs/esign-rest-api/quickstart/). These examples can use either the [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) or [JSON Web Token (JWT)](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-jsonwebtoken) authentication workflows.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>docusign-esign-java</artifactId>
66
<packaging>jar</packaging>
77
<name>docusign-esign-java</name>
8-
<version>4.1.0</version>
8+
<version>4.2.0</version>
99
<url>https://developers.docusign.com</url>
1010
<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>
1111

src/main/java/com/docusign/esign/api/AccountsApi.java

Lines changed: 851 additions & 3 deletions
Large diffs are not rendered by default.

src/main/java/com/docusign/esign/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public ApiClient() {
9696
String javaVersion = System.getProperty("java.version");
9797

9898
// Set default User-Agent.
99-
setUserAgent("/SDK/4.1.0/Java/");
99+
setUserAgent("/SDK/4.2.0/Java/");
100100

101101
// Setup authentications (key: authentication name, value: authentication).
102102
authentications = new HashMap<String, Authentication>();
Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
1+
package com.docusign.esign.model;
2+
3+
import java.util.Objects;
4+
import java.util.Arrays;
5+
import com.fasterxml.jackson.annotation.JsonProperty;
6+
import com.fasterxml.jackson.annotation.JsonCreator;
7+
import com.fasterxml.jackson.annotation.JsonValue;
8+
import io.swagger.v3.oas.annotations.media.Schema;
9+
import io.swagger.v3.oas.annotations.media.Schema;
10+
11+
/**
12+
* AuthorizationUser.
13+
*
14+
*/
15+
16+
public class AuthorizationUser {
17+
@JsonProperty("accountId")
18+
private String accountId = null;
19+
20+
@JsonProperty("email")
21+
private String email = null;
22+
23+
@JsonProperty("name")
24+
private String name = null;
25+
26+
@JsonProperty("userId")
27+
private String userId = null;
28+
29+
30+
/**
31+
* accountId.
32+
*
33+
* @return AuthorizationUser
34+
**/
35+
public AuthorizationUser accountId(String accountId) {
36+
this.accountId = accountId;
37+
return this;
38+
}
39+
40+
/**
41+
* The account ID associated with the envelope..
42+
* @return accountId
43+
**/
44+
@Schema(description = "The account ID associated with the envelope.")
45+
public String getAccountId() {
46+
return accountId;
47+
}
48+
49+
/**
50+
* setAccountId.
51+
**/
52+
public void setAccountId(String accountId) {
53+
this.accountId = accountId;
54+
}
55+
56+
57+
/**
58+
* email.
59+
*
60+
* @return AuthorizationUser
61+
**/
62+
public AuthorizationUser email(String email) {
63+
this.email = email;
64+
return this;
65+
}
66+
67+
/**
68+
* .
69+
* @return email
70+
**/
71+
@Schema(description = "")
72+
public String getEmail() {
73+
return email;
74+
}
75+
76+
/**
77+
* setEmail.
78+
**/
79+
public void setEmail(String email) {
80+
this.email = email;
81+
}
82+
83+
84+
/**
85+
* name.
86+
*
87+
* @return AuthorizationUser
88+
**/
89+
public AuthorizationUser name(String name) {
90+
this.name = name;
91+
return this;
92+
}
93+
94+
/**
95+
* .
96+
* @return name
97+
**/
98+
@Schema(description = "")
99+
public String getName() {
100+
return name;
101+
}
102+
103+
/**
104+
* setName.
105+
**/
106+
public void setName(String name) {
107+
this.name = name;
108+
}
109+
110+
111+
/**
112+
* userId.
113+
*
114+
* @return AuthorizationUser
115+
**/
116+
public AuthorizationUser userId(String userId) {
117+
this.userId = userId;
118+
return this;
119+
}
120+
121+
/**
122+
* .
123+
* @return userId
124+
**/
125+
@Schema(description = "")
126+
public String getUserId() {
127+
return userId;
128+
}
129+
130+
/**
131+
* setUserId.
132+
**/
133+
public void setUserId(String userId) {
134+
this.userId = userId;
135+
}
136+
137+
138+
/**
139+
* Compares objects.
140+
*
141+
* @return true or false depending on comparison result.
142+
*/
143+
@Override
144+
public boolean equals(java.lang.Object o) {
145+
if (this == o) {
146+
return true;
147+
}
148+
if (o == null || getClass() != o.getClass()) {
149+
return false;
150+
}
151+
AuthorizationUser authorizationUser = (AuthorizationUser) o;
152+
return Objects.equals(this.accountId, authorizationUser.accountId) &&
153+
Objects.equals(this.email, authorizationUser.email) &&
154+
Objects.equals(this.name, authorizationUser.name) &&
155+
Objects.equals(this.userId, authorizationUser.userId);
156+
}
157+
158+
/**
159+
* Returns the HashCode.
160+
*/
161+
@Override
162+
public int hashCode() {
163+
return Objects.hash(accountId, email, name, userId);
164+
}
165+
166+
167+
/**
168+
* Converts the given object to string.
169+
*/
170+
@Override
171+
public String toString() {
172+
StringBuilder sb = new StringBuilder();
173+
sb.append("class AuthorizationUser {\n");
174+
175+
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
176+
sb.append(" email: ").append(toIndentedString(email)).append("\n");
177+
sb.append(" name: ").append(toIndentedString(name)).append("\n");
178+
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
179+
sb.append("}");
180+
return sb.toString();
181+
}
182+
183+
/**
184+
* Convert the given object to string with each line indented by 4 spaces
185+
* (except the first line).
186+
*/
187+
private String toIndentedString(java.lang.Object o) {
188+
if (o == null) {
189+
return "null";
190+
}
191+
return o.toString().replace("\n", "\n ");
192+
}
193+
194+
}
195+

0 commit comments

Comments
 (0)