Skip to content

Commit 4415290

Browse files
garg-muditroot
andauthored
Version 2.0.0-RC2-v2.1-1.4.1 release (#16)
Co-authored-by: root <root@devcenteradmin.docusigntest.com>
1 parent 458c54b commit 4415290

File tree

8 files changed

+54
-54
lines changed

8 files changed

+54
-54
lines changed

CHANGELOG.md

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

4+
## [v2.0.0-RC2] - Admin API v2.1-1.4.1 - 2024-10-22
5+
### Changed
6+
- Added support for version v2.1-1.4.1 of the DocuSign Admin API.
7+
- Removed the staging base path and OAuth path constant.
8+
- Updated the SDK release version.
9+
410
## [v2.0.0-RC1] - Admin API v2.1-1.4.0 - 2024-08-27
511
### Breaking Changes
612
<details>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ This client SDK is provided as open source, which enables you to customize its f
5757
<dependency>
5858
<groupId>com.docusign</groupId>
5959
<artifactId>docusign-admin-java</artifactId>
60-
<version>2.0.0-RC1</version>
60+
<version>2.0.0-RC2</version>
6161
</dependency>
6262
```
6363
8. If your project is still open, restart Eclipse.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>docusign-admin-java</artifactId>
66
<packaging>jar</packaging>
77
<name>docusign-admin-java</name>
8-
<version>2.0.0-RC1</version>
8+
<version>2.0.0-RC2</version>
99
<url>https://developers.docusign.com</url>
1010
<description>The Docusign Admin API enables you to automate user management with your existing systems while ensuring governance and compliance.</description>
1111

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ public class ApiClient {
6060
public final static String PRODUCTION_REST_BASEPATH = "https://www.docusign.net/restapi";
6161
/** sandbox/demo base path. */
6262
public final static String DEMO_REST_BASEPATH = "https://demo.docusign.net/restapi";
63-
/** stage base path. */
64-
public final static String STAGE_REST_BASEPATH = "https://stage.docusign.net/restapi";
6563

6664
private String basePath = DEMO_REST_BASEPATH;
6765
private String oAuthBasePath = OAuth.PRODUCTION_OAUTH_BASEPATH;
@@ -95,7 +93,7 @@ public ApiClient() {
9593
String javaVersion = System.getProperty("java.version");
9694

9795
// Set default User-Agent.
98-
setUserAgent("Swagger-Codegen/v2.1/2.0.0-RC1/Java/" + javaVersion);
96+
setUserAgent("Swagger-Codegen/v2.1/2.0.0-RC2/Java/" + javaVersion);
9997

10098
// Setup authentications (key: authentication name, value: authentication).
10199
authentications = new HashMap<String, Authentication>();
@@ -607,8 +605,6 @@ private void deriveOAuthBasePathFromRestBasePath() {
607605
this.oAuthBasePath = OAuth.DEMO_OAUTH_BASEPATH;
608606
} else if (this.basePath.startsWith("https://demo") || this.basePath.startsWith("http://demo") || this.basePath.startsWith("https://apps-d") || this.basePath.startsWith("http://apps-d")) {
609607
this.oAuthBasePath = OAuth.DEMO_OAUTH_BASEPATH;
610-
} else if (this.basePath.startsWith("https://stage") || this.basePath.startsWith("http://stage") || this.basePath.startsWith("https://apps-s") || this.basePath.startsWith("http://apps-s")) {
611-
this.oAuthBasePath = OAuth.STAGE_OAUTH_BASEPATH;
612608
} else {
613609
this.oAuthBasePath = OAuth.PRODUCTION_OAUTH_BASEPATH;
614610
}
@@ -619,7 +615,7 @@ private String getOAuthBasePath() {
619615
}
620616

621617
/**
622-
* Sets the OAuth base path. Values include {@link OAuth#PRODUCTION_OAUTH_BASEPATH}, {@link OAuth#DEMO_OAUTH_BASEPATH} and custom (e.g. "account-s.docusign.com").
618+
* Sets the OAuth base path. Values include {@link OAuth#PRODUCTION_OAUTH_BASEPATH}, {@link OAuth#DEMO_OAUTH_BASEPATH} and custom.
623619
* @param oAuthBasePath the new value for the OAuth base path
624620
* @return this instance of the ApiClient updated with the new OAuth base path
625621
*/

src/main/java/com/docusign/admin/client/auth/OAuth.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ public class OAuth implements Authentication {
4747
public final static String PRODUCTION_OAUTH_BASEPATH = "account.docusign.com";
4848
/** sandbox/demo base path. */
4949
public final static String DEMO_OAUTH_BASEPATH = "account-d.docusign.com";
50-
/** stage base path. */
51-
public final static String STAGE_OAUTH_BASEPATH = "account-s.docusign.com";
5250

5351
// OAuth grant types
5452
/** JWT grant type. */

src/main/java/com/docusign/admin/model/SubscriptionProvisionModelAccountCreateCreateAccountDetails.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,21 @@ public class SubscriptionProvisionModelAccountCreateCreateAccountDetails impleme
3737
private SubscriptionProvisionModelAccountCreateAccountAdmin adminUser = null;
3838

3939
/**
40-
* Gets or Sets billingProfileType
40+
* 0 stands for Web, 1 stands for Direct
4141
*/
4242
public enum BillingProfileTypeEnum {
43-
WEB("Web"),
43+
NUMBER_0(0),
4444

45-
DIRECT("Direct");
45+
NUMBER_1(1);
4646

47-
private String value;
47+
private Integer value;
4848

49-
BillingProfileTypeEnum(String value) {
49+
BillingProfileTypeEnum(Integer value) {
5050
this.value = value;
5151
}
5252

5353
@JsonValue
54-
public String getValue() {
54+
public Integer getValue() {
5555
return value;
5656
}
5757

@@ -61,7 +61,7 @@ public String toString() {
6161
}
6262

6363
@JsonCreator
64-
public static BillingProfileTypeEnum fromValue(String value) {
64+
public static BillingProfileTypeEnum fromValue(Integer value) {
6565
for (BillingProfileTypeEnum b : BillingProfileTypeEnum.values()) {
6666
if (b.value.equals(value)) {
6767
return b;
@@ -248,10 +248,10 @@ public SubscriptionProvisionModelAccountCreateCreateAccountDetails billingProfil
248248
}
249249

250250
/**
251-
* Get billingProfileType.
251+
* 0 stands for Web, 1 stands for Direct.
252252
* @return billingProfileType
253253
**/
254-
@Schema(description = "")
254+
@Schema(description = "0 stands for Web, 1 stands for Direct")
255255
public BillingProfileTypeEnum getBillingProfileType() {
256256
return billingProfileType;
257257
}

src/main/java/com/docusign/admin/model/SubscriptionProvisionModelAccountCreateCreateSubAccountDetails.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,21 @@ public class SubscriptionProvisionModelAccountCreateCreateSubAccountDetails impl
4141
private SubscriptionProvisionModelAccountCreateAccountAdmin adminUser = null;
4242

4343
/**
44-
* Gets or Sets billingProfileType
44+
* 0 stands for Web, 1 stands for Direct
4545
*/
4646
public enum BillingProfileTypeEnum {
47-
WEB("Web"),
47+
NUMBER_0(0),
4848

49-
DIRECT("Direct");
49+
NUMBER_1(1);
5050

51-
private String value;
51+
private Integer value;
5252

53-
BillingProfileTypeEnum(String value) {
53+
BillingProfileTypeEnum(Integer value) {
5454
this.value = value;
5555
}
5656

5757
@JsonValue
58-
public String getValue() {
58+
public Integer getValue() {
5959
return value;
6060
}
6161

@@ -65,7 +65,7 @@ public String toString() {
6565
}
6666

6767
@JsonCreator
68-
public static BillingProfileTypeEnum fromValue(String value) {
68+
public static BillingProfileTypeEnum fromValue(Integer value) {
6969
for (BillingProfileTypeEnum b : BillingProfileTypeEnum.values()) {
7070
if (b.value.equals(value)) {
7171
return b;
@@ -279,10 +279,10 @@ public SubscriptionProvisionModelAccountCreateCreateSubAccountDetails billingPro
279279
}
280280

281281
/**
282-
* Get billingProfileType.
282+
* 0 stands for Web, 1 stands for Direct.
283283
* @return billingProfileType
284284
**/
285-
@Schema(description = "")
285+
@Schema(description = "0 stands for Web, 1 stands for Direct")
286286
public BillingProfileTypeEnum getBillingProfileType() {
287287
return billingProfileType;
288288
}

src/main/java/com/docusign/admin/model/SubscriptionProvisionModelAssetGroupWork.java

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -186,29 +186,29 @@ public static StatusEnum fromValue(String value) {
186186
private String createdBy = null;
187187

188188
/**
189-
* Gets or Sets createdByType
189+
* 0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted
190190
*/
191191
public enum CreatedByTypeEnum {
192-
APPLICATION("Application"),
192+
NUMBER_0(0),
193193

194-
USER("User"),
194+
NUMBER_1(1),
195195

196-
GENERIC("Generic"),
196+
NUMBER_2(2),
197197

198-
RESTAPIAUTH("RestAPIAuth"),
198+
NUMBER_3(3),
199199

200-
RESOURCE("Resource"),
200+
NUMBER_4(4),
201201

202-
RESTRICTED("Restricted");
202+
NUMBER_5(5);
203203

204-
private String value;
204+
private Integer value;
205205

206-
CreatedByTypeEnum(String value) {
206+
CreatedByTypeEnum(Integer value) {
207207
this.value = value;
208208
}
209209

210210
@JsonValue
211-
public String getValue() {
211+
public Integer getValue() {
212212
return value;
213213
}
214214

@@ -218,7 +218,7 @@ public String toString() {
218218
}
219219

220220
@JsonCreator
221-
public static CreatedByTypeEnum fromValue(String value) {
221+
public static CreatedByTypeEnum fromValue(Integer value) {
222222
for (CreatedByTypeEnum b : CreatedByTypeEnum.values()) {
223223
if (b.value.equals(value)) {
224224
return b;
@@ -238,29 +238,29 @@ public static CreatedByTypeEnum fromValue(String value) {
238238
private String updatedBy = null;
239239

240240
/**
241-
* Gets or Sets updatedByType
241+
* 0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted
242242
*/
243243
public enum UpdatedByTypeEnum {
244-
APPLICATION("Application"),
244+
NUMBER_0(0),
245245

246-
USER("User"),
246+
NUMBER_1(1),
247247

248-
GENERIC("Generic"),
248+
NUMBER_2(2),
249249

250-
RESTAPIAUTH("RestAPIAuth"),
250+
NUMBER_3(3),
251251

252-
RESOURCE("Resource"),
252+
NUMBER_4(4),
253253

254-
RESTRICTED("Restricted");
254+
NUMBER_5(5);
255255

256-
private String value;
256+
private Integer value;
257257

258-
UpdatedByTypeEnum(String value) {
258+
UpdatedByTypeEnum(Integer value) {
259259
this.value = value;
260260
}
261261

262262
@JsonValue
263-
public String getValue() {
263+
public Integer getValue() {
264264
return value;
265265
}
266266

@@ -270,7 +270,7 @@ public String toString() {
270270
}
271271

272272
@JsonCreator
273-
public static UpdatedByTypeEnum fromValue(String value) {
273+
public static UpdatedByTypeEnum fromValue(Integer value) {
274274
for (UpdatedByTypeEnum b : UpdatedByTypeEnum.values()) {
275275
if (b.value.equals(value)) {
276276
return b;
@@ -949,10 +949,10 @@ public SubscriptionProvisionModelAssetGroupWork createdByType(CreatedByTypeEnum
949949
}
950950

951951
/**
952-
* Get createdByType.
952+
* 0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted.
953953
* @return createdByType
954954
**/
955-
@Schema(description = "")
955+
@Schema(description = "0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted")
956956
public CreatedByTypeEnum getCreatedByType() {
957957
return createdByType;
958958
}
@@ -1030,10 +1030,10 @@ public SubscriptionProvisionModelAssetGroupWork updatedByType(UpdatedByTypeEnum
10301030
}
10311031

10321032
/**
1033-
* Get updatedByType.
1033+
* 0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted.
10341034
* @return updatedByType
10351035
**/
1036-
@Schema(description = "")
1036+
@Schema(description = "0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted")
10371037
public UpdatedByTypeEnum getUpdatedByType() {
10381038
return updatedByType;
10391039
}

0 commit comments

Comments
 (0)