Skip to content

Commit

Permalink
Version 4.2.0 release (#263)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Apr 14, 2023
1 parent fdc91c7 commit f3e6bc7
Show file tree
Hide file tree
Showing 17 changed files with 3,090 additions and 18 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# DocuSign Java Client Changelog
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.

## [v4.2.0] - eSignature API v2.1-23.1.01.01 - 2023-04-05
### Changed
- Added support for version v2.1-23.1.01.01 of the DocuSign ESignature API.
- Updated the SDK release version.

## [v4.1.0] - eSignature API v2.1-23.1.01.00 - 2023-03-17
### Changed
- Added support for version v2.1-23.1.01.00 of the DocuSign ESignature API.
Expand Down
24 changes: 11 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,17 @@ This SDK is provided as open source, which enables you to customize its function
## Dependencies
This client has the following external dependencies:
* io.swagger.core.v3:swagger-annotations:jar:2.2.8
* org.glassfish.jersey.core:jersey-client:jar:3.0.9
* org.glassfish.jersey.media:jersey-media-multipart:jar:3.0.9
* org.glassfish.jersey.media:jersey-media-json-jackson:jar:3.0.9
* org.glassfish.jersey.inject:jersey-hk2:jar:3.0.9
* com.fasterxml.jackson.jakarta.rs:jackson-jakarta-rs-base:jar:2.14.2
* apache.oltu.oauth2:org.apache.oltu.oauth2.client:jar:1.0.2
* com.auth0:java-jwt:jar:3.4.1
* org.bouncycastle:bcprov-jdk15on:jar:1.69
* com.fasterxml.jackson.dataformat:jackson-dataformat-csv:jar:2.14.2
* com.fasterxml.jackson.dataformat:jackson-datatype-jsr310:jar:2.14.2
* com.brsanthu:migbase64:jar:2.2
* jakarta.ws.rs:jakarta.ws.rs-api:jar:3.1.0
* io.swagger:swagger-annotations:jar:1.5.17
* org.glassfish.jersey.core:jersey-client:jar:2.29.1
* org.glassfish.jersey.media:jersey-media-multipart:jar:2.29.1
* org.glassfish.jersey.media:jersey-media-json-jackson:2.29.1
* com.fasterxml.jackson.core:jackson-core:jar:2.12.1
* com.fasterxml.jackson.core:jackson-annotations:jar:2.12.1
* com.fasterxml.jackson.core:jackson-databind:2.12.1
* junit:junit:jar:4.13.1
* com.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2
* com.auth0:java-jwt:3.4.1
* org.bouncycastle:bcprov-jdk15on:1.60
## Code examples
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.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>docusign-esign-java</artifactId>
<packaging>jar</packaging>
<name>docusign-esign-java</name>
<version>4.1.0</version>
<version>4.2.0</version>
<url>https://developers.docusign.com</url>
<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>

Expand Down
854 changes: 851 additions & 3 deletions src/main/java/com/docusign/esign/api/AccountsApi.java

Large diffs are not rendered by default.

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 @@ -96,7 +96,7 @@ public ApiClient() {
String javaVersion = System.getProperty("java.version");

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

// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<String, Authentication>();
Expand Down
195 changes: 195 additions & 0 deletions src/main/java/com/docusign/esign/model/AuthorizationUser.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
package com.docusign.esign.model;

import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;

/**
* AuthorizationUser.
*
*/

public class AuthorizationUser {
@JsonProperty("accountId")
private String accountId = null;

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

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

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


/**
* accountId.
*
* @return AuthorizationUser
**/
public AuthorizationUser accountId(String accountId) {
this.accountId = accountId;
return this;
}

/**
* The account ID associated with the envelope..
* @return accountId
**/
@Schema(description = "The account ID associated with the envelope.")
public String getAccountId() {
return accountId;
}

/**
* setAccountId.
**/
public void setAccountId(String accountId) {
this.accountId = accountId;
}


/**
* email.
*
* @return AuthorizationUser
**/
public AuthorizationUser email(String email) {
this.email = email;
return this;
}

/**
* .
* @return email
**/
@Schema(description = "")
public String getEmail() {
return email;
}

/**
* setEmail.
**/
public void setEmail(String email) {
this.email = email;
}


/**
* name.
*
* @return AuthorizationUser
**/
public AuthorizationUser name(String name) {
this.name = name;
return this;
}

/**
* .
* @return name
**/
@Schema(description = "")
public String getName() {
return name;
}

/**
* setName.
**/
public void setName(String name) {
this.name = name;
}


/**
* userId.
*
* @return AuthorizationUser
**/
public AuthorizationUser userId(String userId) {
this.userId = userId;
return this;
}

/**
* .
* @return userId
**/
@Schema(description = "")
public String getUserId() {
return userId;
}

/**
* setUserId.
**/
public void setUserId(String userId) {
this.userId = userId;
}


/**
* 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;
}
AuthorizationUser authorizationUser = (AuthorizationUser) o;
return Objects.equals(this.accountId, authorizationUser.accountId) &&
Objects.equals(this.email, authorizationUser.email) &&
Objects.equals(this.name, authorizationUser.name) &&
Objects.equals(this.userId, authorizationUser.userId);
}

/**
* Returns the HashCode.
*/
@Override
public int hashCode() {
return Objects.hash(accountId, email, name, userId);
}


/**
* Converts the given object to string.
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AuthorizationUser {\n");

sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).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 ");
}

}

Loading

0 comments on commit f3e6bc7

Please sign in to comment.