diff --git a/README.md b/README.md
index 354aa744..7bbf958b 100644
--- a/README.md
+++ b/README.md
@@ -56,7 +56,7 @@ Add this dependency to your project's POM:
com.dropbox.sign
dropbox-sign
- 2.10.0
+ 2.11.0
compile
```
@@ -72,7 +72,7 @@ Add this dependency to your project's build file:
}
dependencies {
- implementation "com.dropbox.sign:dropbox-sign:2.10.0"
+ implementation "com.dropbox.sign:dropbox-sign:2.11.0"
}
```
@@ -86,7 +86,7 @@ mvn clean package
Then manually install the following JARs:
-- `target/dropbox-sign-2.10.0.jar`
+- `target/dropbox-sign-2.11.0.jar`
- `target/lib/*.jar`
## Getting Started
@@ -457,7 +457,7 @@ apisupport@hellosign.com
This Java package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: `3.0.0`
- - Package version: `2.10.0`
+ - Package version: `2.11.0`
- Build package: `org.openapitools.codegen.languages.JavaClientCodegen`
diff --git a/VERSION b/VERSION
index 10c2c0c3..46b81d81 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.10.0
+2.11.0
diff --git a/build.gradle b/build.gradle
index 46cf25b8..d4d88a89 100644
--- a/build.gradle
+++ b/build.gradle
@@ -7,7 +7,7 @@ plugins {
}
group = 'com.dropbox.sign'
-version = '2.10.0'
+version = '2.11.0'
base {
archivesName.set('dropbox-sign')
@@ -22,6 +22,17 @@ repositories {
mavenCentral()
}
+ext {
+ swagger_annotations_version = "1.6.5"
+ jackson_version = "2.21.6"
+ jackson_annotations_version = "2.21"
+ jackson_databind_version = "2.21.6"
+ jakarta_annotation_version = "2.1.0"
+ jersey_version = "3.0.4"
+ junit_version = "5.8.2"
+ mockito_version = "3.12.4"
+}
+
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
@@ -57,16 +68,6 @@ artifacts {
archives javadocJar, sourcesJar, fatJar
}
-ext {
- swagger_annotations_version = "1.6.5"
- jackson_version = "2.17.1"
- jackson_databind_version = "2.17.1"
- jakarta_annotation_version = "2.1.0"
- jersey_version = "3.0.4"
- junit_version = "5.8.2"
- mockito_version = "3.12.4"
-}
-
dependencies {
implementation "io.swagger:swagger-annotations:$swagger_annotations_version"
implementation "com.google.code.findbugs:jsr305:3.0.2"
@@ -76,11 +77,10 @@ dependencies {
implementation "org.glassfish.jersey.media:jersey-media-json-jackson:$jersey_version"
implementation "org.glassfish.jersey.connectors:jersey-apache-connector:$jersey_version"
implementation "com.fasterxml.jackson.core:jackson-core:$jackson_version"
- implementation "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
+ implementation "com.fasterxml.jackson.core:jackson-annotations:$jackson_annotations_version"
implementation "com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
-
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit_version"
testImplementation "org.mockito:mockito-core:$mockito_version"
diff --git a/build.sbt b/build.sbt
index f46a7ac8..4d798d88 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,8 +2,8 @@ lazy val root = (project in file(".")).
settings(
organization := "com.dropbox.sign",
name := "dropbox-sign",
- version := "2.10.0",
- scalaVersion := "2.11.4",
+ version := "2.11.0",
+ scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
Compile / javacOptions ++= Seq("-Xlint:deprecation"),
Compile / packageDoc / publishArtifact := false,
@@ -17,10 +17,10 @@ lazy val root = (project in file(".")).
"org.glassfish.jersey.media" % "jersey-media-multipart" % "3.0.4",
"org.glassfish.jersey.media" % "jersey-media-json-jackson" % "3.0.4",
"org.glassfish.jersey.connectors" % "jersey-apache-connector" % "3.0.4",
- "com.fasterxml.jackson.core" % "jackson-core" % "2.17.1" % "compile",
- "com.fasterxml.jackson.core" % "jackson-annotations" % "2.17.1" % "compile",
- "com.fasterxml.jackson.core" % "jackson-databind" % "2.17.1" % "compile",
- "com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % "2.17.1" % "compile",
+ "com.fasterxml.jackson.core" % "jackson-core" % "2.21.6" % "compile",
+ "com.fasterxml.jackson.core" % "jackson-annotations" % "2.21" % "compile",
+ "com.fasterxml.jackson.core" % "jackson-databind" % "2.21.6" % "compile",
+ "com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % "2.21.1" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "2.1.0" % "compile",
"org.junit.jupiter" % "junit-jupiter-api" % "5.8.2" % "test"
)
diff --git a/composer.lock b/composer.lock
index 144b5373..424e1d2e 100644
--- a/composer.lock
+++ b/composer.lock
@@ -8,16 +8,16 @@
"packages": [
{
"name": "symfony/deprecation-contracts",
- "version": "v2.5.0",
+ "version": "v2.5.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
- "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8"
+ "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8",
- "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/605389f2a7e5625f273b53960dc46aeaf9c62918",
+ "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918",
"shasum": ""
},
"require": {
@@ -25,12 +25,12 @@
},
"type": "library",
"extra": {
+ "thanks": {
+ "url": "https://github.com/symfony/contracts",
+ "name": "symfony/contracts"
+ },
"branch-alias": {
"dev-main": "2.5-dev"
- },
- "thanks": {
- "name": "symfony/contracts",
- "url": "https://github.com/symfony/contracts"
}
},
"autoload": {
@@ -55,7 +55,7 @@
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0"
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.4"
},
"funding": [
{
@@ -71,24 +71,24 @@
"type": "tidelift"
}
],
- "time": "2021-07-12T14:48:14+00:00"
+ "time": "2024-09-25T14:11:13+00:00"
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.24.0",
+ "version": "v1.37.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "30885182c981ab175d4d034db0f6f469898070ab"
+ "reference": "141046a8f9477948ff284fa65be2095baafb94f2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab",
- "reference": "30885182c981ab175d4d034db0f6f469898070ab",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/141046a8f9477948ff284fa65be2095baafb94f2",
+ "reference": "141046a8f9477948ff284fa65be2095baafb94f2",
"shasum": ""
},
"require": {
- "php": ">=7.1"
+ "php": ">=7.2"
},
"provide": {
"ext-ctype": "*"
@@ -98,21 +98,18 @@
},
"type": "library",
"extra": {
- "branch-alias": {
- "dev-main": "1.23-dev"
- },
"thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
}
},
"autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
"files": [
"bootstrap.php"
- ]
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Ctype\\": ""
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -137,7 +134,7 @@
"portable"
],
"support": {
- "source": "https://github.com/symfony/polyfill-ctype/tree/v1.24.0"
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.37.0"
},
"funding": [
{
@@ -148,25 +145,29 @@
"url": "https://github.com/fabpot",
"type": "github"
},
+ {
+ "url": "https://github.com/nicolas-grekas",
+ "type": "github"
+ },
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
- "time": "2021-10-20T20:35:02+00:00"
+ "time": "2026-04-10T16:19:22+00:00"
},
{
"name": "symfony/yaml",
- "version": "v5.4.3",
+ "version": "v5.4.54",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
- "reference": "e80f87d2c9495966768310fc531b487ce64237a2"
+ "reference": "f27a7131106e8cb792d434e8faea7f3ffb615263"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/e80f87d2c9495966768310fc531b487ce64237a2",
- "reference": "e80f87d2c9495966768310fc531b487ce64237a2",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/f27a7131106e8cb792d434e8faea7f3ffb615263",
+ "reference": "f27a7131106e8cb792d434e8faea7f3ffb615263",
"shasum": ""
},
"require": {
@@ -212,7 +213,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/yaml/tree/v5.4.3"
+ "source": "https://github.com/symfony/yaml/tree/v5.4.54"
},
"funding": [
{
@@ -223,12 +224,16 @@
"url": "https://github.com/fabpot",
"type": "github"
},
+ {
+ "url": "https://github.com/nicolas-grekas",
+ "type": "github"
+ },
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
- "time": "2022-01-26T16:32:32+00:00"
+ "time": "2026-08-30T06:09:20+00:00"
}
],
"packages-dev": [],
diff --git a/gradle.properties b/gradle.properties
index 85f8352e..8afaf901 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -6,7 +6,7 @@
#target = android
GROUP=com.dropbox.sign
POM_ARTIFACT_ID=dropbox-sign
-VERSION_NAME=2.10.0
+VERSION_NAME=2.11.0
POM_NAME=Dropbox Sign Java SDK
POM_DESCRIPTION=Use the Dropbox Sign Java SDK to connect your Java app to the service of Dropbox Sign in microseconds!
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index b82aa23a..4f5eb9dc 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
diff --git a/openapi-config.yaml b/openapi-config.yaml
index 2898b103..7590fa8f 100644
--- a/openapi-config.yaml
+++ b/openapi-config.yaml
@@ -18,7 +18,7 @@ additionalProperties:
groupId: com.dropbox.sign
artifactId: dropbox-sign
artifactName: Dropbox Sign Java SDK
- artifactVersion: "2.10.0"
+ artifactVersion: "2.11.0"
artifactUrl: https://github.com/hellosign/dropbox-sign-java
artifactDescription: Use the Dropbox Sign Java SDK to connect your Java app to the service of Dropbox Sign in microseconds!
scmConnection: scm:git:git://github.com/hellosign/dropbox-sign-java.git
diff --git a/pom.xml b/pom.xml
index b597ab4c..7c3dba99 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
dropbox-sign
jar
dropbox-sign
- 2.10.0
+ 2.11.0
https://github.com/hellosign/dropbox-sign-java
Use the Dropbox Sign Java SDK to connect your Java app to the service of Dropbox Sign in microseconds!
@@ -311,7 +311,7 @@
com.fasterxml.jackson.core
jackson-annotations
- ${jackson-version}
+ ${jackson-annotations-version}
com.fasterxml.jackson.core
@@ -323,6 +323,7 @@
jackson-datatype-jsr310
${jackson-version}
+
jakarta.annotation
jakarta.annotation-api
@@ -351,12 +352,13 @@
UTF-8
- 3.1.1
- 2.17.1
- 2.17.1
- 0.2.6
+ 3.1.11
+ 2.21.6
+ 2.21
+ 2.21.6
+ 0.2.12
2.1.1
- 3.0.2
+ 3.1.1
5.10.0
2.21.0
3.12.4
diff --git a/run-build b/run-build
index aae70c35..e122a3f1 100755
--- a/run-build
+++ b/run-build
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-# see https://github.com/OpenAPITools/openapi-generator/tree/v7.8.0/modules/openapi-generator/src/main/resources/Java
+# see https://github.com/OpenAPITools/openapi-generator/tree/v7.26.0/modules/openapi-generator/src/main/resources/Java
set -e
@@ -18,7 +18,7 @@ rm -f "${DIR}/src/main/java/com/dropbox/sign/model/"*.java
docker run --rm \
-v "${DIR}/:/local" \
- openapitools/openapi-generator-cli:v7.12.0 generate \
+ openapitools/openapi-generator-cli:v7.26.0 generate \
-i "/local/openapi-sdk.yaml" \
-c "/local/openapi-config.yaml" \
-t "/local/templates" \
diff --git a/src/main/java/com/dropbox/sign/ApiClient.java b/src/main/java/com/dropbox/sign/ApiClient.java
index bbba972d..7b807b8f 100644
--- a/src/main/java/com/dropbox/sign/ApiClient.java
+++ b/src/main/java/com/dropbox/sign/ApiClient.java
@@ -62,6 +62,7 @@
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Date;
+import java.util.Locale;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import java.time.OffsetDateTime;
@@ -84,15 +85,15 @@
/**
* ApiClient class.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class ApiClient extends JavaTimeFormatter {
- private static final Pattern JSON_MIME_PATTERN = Pattern.compile("(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$");
+ protected static final Pattern JSON_MIME_PATTERN = Pattern.compile("(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$");
protected Map defaultHeaderMap = new HashMap<>();
protected Map defaultCookieMap = new HashMap<>();
protected String basePath = "https://api.hellosign.com/v3";
protected String userAgent;
- private static final Logger log = Logger.getLogger(ApiClient.class.getName());
+ protected static final Logger log = Logger.getLogger(ApiClient.class.getName());
protected List servers = new ArrayList<>(Arrays.asList(
new ServerConfiguration(
@@ -129,7 +130,7 @@ public class ApiClient extends JavaTimeFormatter {
protected boolean debugging = false;
protected ClientConfig clientConfig;
protected int connectionTimeout = 0;
- private int readTimeout = 0;
+ protected int readTimeout = 0;
protected Client httpClient;
protected JSON json;
@@ -159,7 +160,7 @@ public ApiClient(Map authMap) {
this.dateFormat = new RFC3339DateFormat();
// Set default User-Agent.
- setUserAgent("OpenAPI-Generator/2.10.0/java");
+ setUserAgent("OpenAPI-Generator/2.11.0/java");
// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<>();
@@ -299,7 +300,7 @@ public ApiClient setServerVariables(Map serverVariables) {
return this;
}
- private void updateBasePath() {
+ protected void updateBasePath() {
if (serverIndex != null) {
setBasePath(servers.get(serverIndex).URL(serverVariables));
}
@@ -513,6 +514,7 @@ public boolean isDebugging() {
*/
public ApiClient setDebugging(boolean debugging) {
this.debugging = debugging;
+ applyDebugSetting(this.clientConfig);
// Rebuild HTTP Client according to the new "debugging" value.
this.httpClient = buildHttpClient();
return this;
@@ -792,6 +794,41 @@ public String escapeString(String str) {
}
}
+ /**
+ * Format the given collection as a path parameter value according to the collection format.
+ * Each item is escaped individually, so that the delimiter is preserved (e.g. "a,b,c" for csv).
+ *
+ * @param collectionFormat Collection format (csv by default)
+ * @param value Collection value
+ * @return Escaped path parameter value
+ */
+ public String collectionPathParameterToString(String collectionFormat, Collection> value) {
+ if (value == null || value.isEmpty()) {
+ return "";
+ }
+
+ // "multi" is not valid for path params, fall back to csv
+ String delimiter = ",";
+ if ("ssv".equals(collectionFormat)) {
+ delimiter = escapeString(" ");
+ } else if ("tsv".equals(collectionFormat)) {
+ delimiter = escapeString("\t");
+ } else if ("pipes".equals(collectionFormat)) {
+ delimiter = escapeString("|");
+ }
+
+ StringBuilder sb = new StringBuilder();
+ boolean first = true;
+ for (Object item : value) {
+ if (!first) {
+ sb.append(delimiter);
+ }
+ sb.append(escapeString(parameterToString(item)));
+ first = false;
+ }
+ return sb.toString();
+ }
+
/**
* Serialize the given Java object into string entity according the given
* Content-Type (only JSON is supported for now).
@@ -843,11 +880,11 @@ public Entity> serialize(Object obj, Map formParams, String co
* Adds the object with the provided key to the MultiPart.
* Based on the object type sets Content-Disposition and Content-Type.
*
- * @param obj Object
+ * @param value Object
* @param key Key of the object
* @param multiPart MultiPart to add the form param to
*/
- private void addParamToMultipart(Object value, String key, MultiPart multiPart) {
+ protected void addParamToMultipart(Object value, String key, MultiPart multiPart) {
if (value instanceof File) {
File file = (File) value;
FormDataContentDisposition contentDisp = FormDataContentDisposition.name(key)
@@ -1013,6 +1050,7 @@ public File prepareDownloadFile(Response response) throws IOException {
* @param authNames The authentications to apply
* @param returnType The return type into which to deserialize the response
* @param isBodyNullable True if the body is nullable
+ * @param errorTypes Mapping of error codes to types into which to deserialize the response
* @return The response body in type of string
* @throws ApiException API exception
*/
@@ -1029,7 +1067,9 @@ public ApiResponse invokeAPI(
String contentType,
String[] authNames,
GenericType returnType,
- boolean isBodyNullable)
+ boolean isBodyNullable,
+ Map errorTypes
+ )
throws ApiException {
String targetURL;
@@ -1040,6 +1080,7 @@ public ApiResponse invokeAPI(
if (index < 0 || index >= serverConfigurations.size()) {
throw new ArrayIndexOutOfBoundsException(
String.format(
+ Locale.ROOT,
"Invalid index %d when selecting the host settings. Must be less than %d",
index, serverConfigurations.size()));
}
@@ -1051,6 +1092,22 @@ public ApiResponse invokeAPI(
// to support (constant) query string in `path`, e.g. "/posts?draft=1"
WebTarget target = httpClient.target(targetURL);
+ // put all headers in one place
+ Map allHeaderParams = new HashMap<>(defaultHeaderMap);
+ allHeaderParams.putAll(headerParams);
+
+ if (authNames != null) {
+ // update different parameters (e.g. headers) for authentication
+ updateParamsForAuth(
+ authNames,
+ queryParams,
+ allHeaderParams,
+ cookieParams,
+ null,
+ method,
+ target.getUri());
+ }
+
if (queryParams != null) {
for (Pair queryParam : queryParams) {
if (queryParam.getValue() != null) {
@@ -1081,22 +1138,6 @@ public ApiResponse invokeAPI(
Entity> entity = serialize(body, formParams, contentType, isBodyNullable);
- // put all headers in one place
- Map allHeaderParams = new HashMap<>(defaultHeaderMap);
- allHeaderParams.putAll(headerParams);
-
- if (authNames != null) {
- // update different parameters (e.g. headers) for authentication
- updateParamsForAuth(
- authNames,
- queryParams,
- allHeaderParams,
- cookieParams,
- null,
- method,
- target.getUri());
- }
-
for (Entry entry : allHeaderParams.entrySet()) {
String value = entry.getValue();
if (value != null) {
@@ -1151,8 +1192,32 @@ public ApiResponse invokeAPI(
}
}
}
+
+ /**
+ * Deserialize the response body into an error entity based on HTTP status code.
+ * Looks up the error type from the errorTypes map using the response status code,
+ * or falls back to the "default" error type if no match is found.
+ *
+ * @param errorTypes Map of status code strings to GenericType for deserialization
+ * @param response The HTTP response
+ * @return The deserialized error entity, or null if not found or deserialization fails
+ */
+ private Object deserializeErrorEntity(Map errorTypes, Response response) {
+ if (errorTypes == null) {
+ return null;
+ }
+ GenericType errorType = errorTypes.get(String.valueOf(response.getStatus()));
+ if (errorType == null) {
+ errorType = errorTypes.get("0"); // "0" is the "default" response
+ }
+ try {
+ return deserialize(response, errorType);
+ } catch (Exception e) {
+ return null;
+ }
+ }
- private Response sendRequest(String method, Invocation.Builder invocationBuilder, Entity> entity) {
+ protected Response sendRequest(String method, Invocation.Builder invocationBuilder, Entity> entity) {
Response response;
if ("POST".equals(method)) {
response = invocationBuilder.post(entity);
@@ -1177,7 +1242,45 @@ private Response sendRequest(String method, Invocation.Builder invocationBuilder
*/
@Deprecated
public ApiResponse invokeAPI(String path, String method, List queryParams, Object body, Map headerParams, Map cookieParams, Map formParams, String accept, String contentType, String[] authNames, GenericType returnType, boolean isBodyNullable) throws ApiException {
- return invokeAPI(null, path, method, queryParams, body, headerParams, cookieParams, formParams, accept, contentType, authNames, returnType, isBodyNullable);
+ return invokeAPI(null, path, method, queryParams, body, headerParams, cookieParams, formParams, accept, contentType, authNames, returnType, isBodyNullable, null/*TODO SME manage*/);
+ }
+
+ /**
+ * Invoke API by sending HTTP request with the given options, without error types.
+ *
+ * @param Type
+ * @param operation The qualified name of the operation
+ * @param path The sub-path of the HTTP URL
+ * @param method The request method, one of "GET", "POST", "PUT", "HEAD" and "DELETE"
+ * @param queryParams The query parameters
+ * @param body The request body object
+ * @param headerParams The header parameters
+ * @param cookieParams The cookie parameters
+ * @param formParams The form parameters
+ * @param accept The request's Accept header
+ * @param contentType The request's Content-Type header
+ * @param authNames The authentications to apply
+ * @param returnType The return type into which to deserialize the response
+ * @param isBodyNullable True if the body is nullable
+ * @return The response body in type of string
+ * @throws ApiException API exception
+ */
+ public ApiResponse invokeAPI(
+ String operation,
+ String path,
+ String method,
+ List queryParams,
+ Object body,
+ Map headerParams,
+ Map cookieParams,
+ Map formParams,
+ String accept,
+ String contentType,
+ String[] authNames,
+ GenericType returnType,
+ boolean isBodyNullable)
+ throws ApiException {
+ return invokeAPI(operation, path, method, queryParams, body, headerParams, cookieParams, formParams, accept, contentType, authNames, returnType, isBodyNullable, null);
}
/**
@@ -1186,8 +1289,10 @@ public ApiResponse invokeAPI(String path, String method, List query
* @return Client
*/
protected Client buildHttpClient() {
- // recreate the client config to pickup changes
- clientConfig = getDefaultClientConfig();
+ // Create ClientConfig if it has not been initialized yet
+ if (clientConfig == null) {
+ clientConfig = getDefaultClientConfig();
+ }
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
clientBuilder = clientBuilder.withConfig(clientConfig);
@@ -1208,6 +1313,11 @@ public ClientConfig getDefaultClientConfig() {
clientConfig.property(HttpUrlConnectorProvider.SET_METHOD_WORKAROUND, true);
// turn off compliance validation to be able to send payloads with DELETE calls
clientConfig.property(ClientProperties.SUPPRESS_HTTP_COMPLIANCE_VALIDATION, true);
+ applyDebugSetting(clientConfig);
+ return clientConfig;
+ }
+
+ protected void applyDebugSetting(ClientConfig clientConfig) {
if (debugging) {
clientConfig.register(new LoggingFeature(java.util.logging.Logger.getLogger(LoggingFeature.DEFAULT_LOGGER_NAME), java.util.logging.Level.INFO, LoggingFeature.Verbosity.PAYLOAD_ANY, 1024*50 /* Log payloads up to 50K */));
clientConfig.property(LoggingFeature.LOGGING_FEATURE_VERBOSITY, LoggingFeature.Verbosity.PAYLOAD_ANY);
@@ -1217,8 +1327,6 @@ public ClientConfig getDefaultClientConfig() {
// suppress warnings for payloads with DELETE calls:
java.util.logging.Logger.getLogger("org.glassfish.jersey.client").setLevel(java.util.logging.Level.SEVERE);
}
-
- return clientConfig;
}
/**
@@ -1310,4 +1418,4 @@ protected void updateParamsForAuth(String[] authNames, List queryParams, M
auth.applyToParams(queryParams, headerParams, cookieParams, payload, method, uri);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/dropbox/sign/ApiException.java b/src/main/java/com/dropbox/sign/ApiException.java
index bb510405..de0c04bb 100644
--- a/src/main/java/com/dropbox/sign/ApiException.java
+++ b/src/main/java/com/dropbox/sign/ApiException.java
@@ -20,13 +20,14 @@
/**
* API Exception
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class ApiException extends Exception {
private static final long serialVersionUID = 1L;
private int code = 0;
private Map> responseHeaders = null;
private String responseBody = null;
+ private transient Object errorEntity = null;
private ErrorResponse errorResponse;
public ApiException() {}
@@ -69,9 +70,15 @@ public ApiException(int code, String message, Map> response
this.responseBody = responseBody;
}
+ public ApiException(int code, String message, Map> responseHeaders, String responseBody, Object errorEntity) {
+ this(code, message, responseHeaders, responseBody);
+ this.errorEntity = errorEntity;
+ }
+
public ApiException(int code, String message, Map> responseHeaders, String responseBody, ErrorResponse errorResponse) {
this(code, message, responseHeaders, responseBody);
this.errorResponse = errorResponse;
+ this.errorEntity = errorResponse;
}
/**
@@ -101,6 +108,15 @@ public String getResponseBody() {
return responseBody;
}
+ /**
+ * Get the deserialized error entity (or null if this error doesn't have a model associated).
+ *
+ * @return Deserialized error entity
+ */
+ public Object getErrorEntity() {
+ return errorEntity;
+ }
+
public ErrorResponse getErrorResponse() {
return errorResponse;
}
diff --git a/src/main/java/com/dropbox/sign/Configuration.java b/src/main/java/com/dropbox/sign/Configuration.java
index 8525fd4b..c02ae0d0 100644
--- a/src/main/java/com/dropbox/sign/Configuration.java
+++ b/src/main/java/com/dropbox/sign/Configuration.java
@@ -13,29 +13,51 @@
package com.dropbox.sign;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+import java.util.Objects;
+import java.util.concurrent.atomic.AtomicReference;
+import java.util.function.Supplier;
+
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class Configuration {
- public static final String VERSION = "2.10.0";
-
- private static volatile ApiClient defaultApiClient = new ApiClient();
-
- /**
- * Get the default API client, which would be used when creating API
- * instances without providing an API client.
- *
- * @return Default API client
- */
- public static ApiClient getDefaultApiClient() {
- return defaultApiClient;
- }
+ public static final String VERSION = "2.11.0";
+
+ private static final AtomicReference defaultApiClient = new AtomicReference<>();
+ private static volatile Supplier apiClientFactory = ApiClient::new;
- /**
- * Set the default API client, which would be used when creating API
- * instances without providing an API client.
- *
- * @param apiClient API client
- */
- public static void setDefaultApiClient(ApiClient apiClient) {
- defaultApiClient = apiClient;
+ /**
+ * Get the default API client, which would be used when creating API instances without providing an API client.
+ *
+ * @return Default API client
+ */
+ public static ApiClient getDefaultApiClient() {
+ ApiClient client = defaultApiClient.get();
+ if (client == null) {
+ client = defaultApiClient.updateAndGet(val -> {
+ if (val != null) { // changed by another thread
+ return val;
+ }
+ return apiClientFactory.get();
+ });
}
-}
+ return client;
+ }
+
+ /**
+ * Set the default API client, which would be used when creating API instances without providing an API client.
+ *
+ * @param apiClient API client
+ */
+ public static void setDefaultApiClient(ApiClient apiClient) {
+ defaultApiClient.set(apiClient);
+ }
+
+ /**
+ * set the callback used to create new ApiClient objects
+ */
+ public static void setApiClientFactory(Supplier factory) {
+ apiClientFactory = Objects.requireNonNull(factory);
+ }
+
+ public Configuration() {
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/dropbox/sign/EventCallbackHelper.java b/src/main/java/com/dropbox/sign/EventCallbackHelper.java
index 837f2118..3c36001f 100644
--- a/src/main/java/com/dropbox/sign/EventCallbackHelper.java
+++ b/src/main/java/com/dropbox/sign/EventCallbackHelper.java
@@ -18,7 +18,7 @@
import org.apache.commons.codec.digest.HmacAlgorithms;
import org.apache.commons.codec.digest.HmacUtils;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class EventCallbackHelper {
public static final String EVENT_TYPE_ACCOUNT_CALLBACK = "account_callback";
diff --git a/src/main/java/com/dropbox/sign/JSON.java b/src/main/java/com/dropbox/sign/JSON.java
index feb72da5..e3c526ea 100644
--- a/src/main/java/com/dropbox/sign/JSON.java
+++ b/src/main/java/com/dropbox/sign/JSON.java
@@ -26,7 +26,7 @@
import jakarta.ws.rs.core.GenericType;
import jakarta.ws.rs.ext.ContextResolver;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class JSON implements ContextResolver {
private ObjectMapper mapper;
@@ -41,6 +41,7 @@ public JSON() {
.enable(DeserializationFeature.READ_ENUMS_USING_TO_STRING)
.defaultDateFormat(new RFC3339DateFormat())
.addModule(new JavaTimeModule())
+ .addModule(new RFC3339JavaTimeModule())
.build();
}
diff --git a/src/main/java/com/dropbox/sign/JavaTimeFormatter.java b/src/main/java/com/dropbox/sign/JavaTimeFormatter.java
index b9cf82bd..46c939a7 100644
--- a/src/main/java/com/dropbox/sign/JavaTimeFormatter.java
+++ b/src/main/java/com/dropbox/sign/JavaTimeFormatter.java
@@ -20,45 +20,49 @@
* Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class.
* It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class JavaTimeFormatter {
+ private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME;
- private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME;
+ /**
+ * Get the date format used to parse/format {@code OffsetDateTime} parameters.
+ *
+ * @return DateTimeFormatter
+ */
+ public DateTimeFormatter getOffsetDateTimeFormatter() {
+ return offsetDateTimeFormatter;
+ }
- /**
- * Get the date format used to parse/format {@code OffsetDateTime} parameters.
- * @return DateTimeFormatter
- */
- public DateTimeFormatter getOffsetDateTimeFormatter() {
- return offsetDateTimeFormatter;
- }
+ /**
+ * Set the date format used to parse/format {@code OffsetDateTime} parameters.
+ *
+ * @param offsetDateTimeFormatter {@code DateTimeFormatter}
+ */
+ public void setOffsetDateTimeFormatter(DateTimeFormatter offsetDateTimeFormatter) {
+ this.offsetDateTimeFormatter = offsetDateTimeFormatter;
+ }
- /**
- * Set the date format used to parse/format {@code OffsetDateTime} parameters.
- * @param offsetDateTimeFormatter {@code DateTimeFormatter}
- */
- public void setOffsetDateTimeFormatter(DateTimeFormatter offsetDateTimeFormatter) {
- this.offsetDateTimeFormatter = offsetDateTimeFormatter;
+ /**
+ * Parse the given string into {@code OffsetDateTime} object.
+ *
+ * @param str String
+ * @return {@code OffsetDateTime}
+ */
+ public OffsetDateTime parseOffsetDateTime(String str) {
+ try {
+ return OffsetDateTime.parse(str, offsetDateTimeFormatter);
+ } catch (DateTimeParseException e) {
+ throw new RuntimeException(e);
}
+ }
- /**
- * Parse the given string into {@code OffsetDateTime} object.
- * @param str String
- * @return {@code OffsetDateTime}
- */
- public OffsetDateTime parseOffsetDateTime(String str) {
- try {
- return OffsetDateTime.parse(str, offsetDateTimeFormatter);
- } catch (DateTimeParseException e) {
- throw new RuntimeException(e);
- }
- }
- /**
- * Format the given {@code OffsetDateTime} object into string.
- * @param offsetDateTime {@code OffsetDateTime}
- * @return {@code OffsetDateTime} in string format
- */
- public String formatOffsetDateTime(OffsetDateTime offsetDateTime) {
- return offsetDateTimeFormatter.format(offsetDateTime);
- }
-}
+ /**
+ * Format the given {@code OffsetDateTime} object into string.
+ *
+ * @param offsetDateTime {@code OffsetDateTime}
+ * @return {@code OffsetDateTime} in string format
+ */
+ public String formatOffsetDateTime(OffsetDateTime offsetDateTime) {
+ return offsetDateTimeFormatter.format(offsetDateTime);
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/dropbox/sign/Pair.java b/src/main/java/com/dropbox/sign/Pair.java
index 8172fd6a..c7357346 100644
--- a/src/main/java/com/dropbox/sign/Pair.java
+++ b/src/main/java/com/dropbox/sign/Pair.java
@@ -13,45 +13,25 @@
package com.dropbox.sign;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class Pair {
- private String name = "";
- private String value = "";
+ private final String name;
+ private final String value;
- public Pair (String name, String value) {
- setName(name);
- setValue(value);
- }
+ public Pair(String name, String value) {
+ this.name = isValidString(name) ? name : "";
+ this.value = isValidString(value) ? value : "";
+ }
- private void setName(String name) {
- if (!isValidString(name)) {
- return;
- }
+ public String getName() {
+ return this.name;
+ }
- this.name = name;
- }
+ public String getValue() {
+ return this.value;
+ }
- private void setValue(String value) {
- if (!isValidString(value)) {
- return;
- }
-
- this.value = value;
- }
-
- public String getName() {
- return this.name;
- }
-
- public String getValue() {
- return this.value;
- }
-
- private boolean isValidString(String arg) {
- if (arg == null) {
- return false;
- }
-
- return true;
- }
+ private static boolean isValidString(String arg) {
+ return arg != null;
+ }
}
diff --git a/src/main/java/com/dropbox/sign/RFC3339DateFormat.java b/src/main/java/com/dropbox/sign/RFC3339DateFormat.java
index 2f903364..bbd98b88 100644
--- a/src/main/java/com/dropbox/sign/RFC3339DateFormat.java
+++ b/src/main/java/com/dropbox/sign/RFC3339DateFormat.java
@@ -12,8 +12,6 @@
package com.dropbox.sign;
-import com.fasterxml.jackson.databind.util.StdDateFormat;
-
import java.text.DateFormat;
import java.text.FieldPosition;
import java.text.ParsePosition;
@@ -21,8 +19,9 @@
import java.text.DecimalFormat;
import java.util.GregorianCalendar;
import java.util.TimeZone;
+import com.fasterxml.jackson.databind.util.StdDateFormat;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class RFC3339DateFormat extends DateFormat {
private static final long serialVersionUID = 1L;
private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC");
diff --git a/src/main/java/com/dropbox/sign/RFC3339InstantDeserializer.java b/src/main/java/com/dropbox/sign/RFC3339InstantDeserializer.java
new file mode 100644
index 00000000..ddb80b5a
--- /dev/null
+++ b/src/main/java/com/dropbox/sign/RFC3339InstantDeserializer.java
@@ -0,0 +1,100 @@
+/*
+ * Dropbox Sign API
+ * Dropbox Sign v3 API
+ *
+ * The version of the OpenAPI document: 3.0.0
+ * Contact: apisupport@hellosign.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.dropbox.sign;
+
+import java.io.IOException;
+import java.time.Instant;
+import java.time.OffsetDateTime;
+import java.time.ZoneId;
+import java.time.ZonedDateTime;
+import java.time.format.DateTimeFormatter;
+import java.time.temporal.Temporal;
+import java.time.temporal.TemporalAccessor;
+import java.util.function.BiFunction;
+import java.util.function.Function;
+
+import com.fasterxml.jackson.core.JsonParser;
+import com.fasterxml.jackson.databind.DeserializationContext;
+import com.fasterxml.jackson.datatype.jsr310.JavaTimeFeature;
+import com.fasterxml.jackson.datatype.jsr310.deser.InstantDeserializer;
+
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
+public class RFC3339InstantDeserializer extends InstantDeserializer {
+ private static final long serialVersionUID = 1L;
+ private final static boolean DEFAULT_NORMALIZE_ZONE_ID = JavaTimeFeature.NORMALIZE_DESERIALIZED_ZONE_ID.enabledByDefault();
+ private final static boolean DEFAULT_ALWAYS_ALLOW_STRINGIFIED_DATE_TIMESTAMPS
+ = JavaTimeFeature.ALWAYS_ALLOW_STRINGIFIED_DATE_TIMESTAMPS.enabledByDefault();
+
+ public static final RFC3339InstantDeserializer INSTANT = new RFC3339InstantDeserializer<>(
+ Instant.class, DateTimeFormatter.ISO_INSTANT,
+ Instant::from,
+ a -> Instant.ofEpochMilli( a.value ),
+ a -> Instant.ofEpochSecond( a.integer, a.fraction ),
+ null,
+ true, // yes, replace zero offset with Z
+ DEFAULT_NORMALIZE_ZONE_ID,
+ DEFAULT_ALWAYS_ALLOW_STRINGIFIED_DATE_TIMESTAMPS
+ );
+
+ public static final RFC3339InstantDeserializer OFFSET_DATE_TIME = new RFC3339InstantDeserializer<>(
+ OffsetDateTime.class, DateTimeFormatter.ISO_OFFSET_DATE_TIME,
+ OffsetDateTime::from,
+ a -> OffsetDateTime.ofInstant( Instant.ofEpochMilli( a.value ), a.zoneId ),
+ a -> OffsetDateTime.ofInstant( Instant.ofEpochSecond( a.integer, a.fraction ), a.zoneId ),
+ (d, z) -> ( d.isEqual( OffsetDateTime.MIN ) || d.isEqual( OffsetDateTime.MAX ) ?
+ d :
+ d.withOffsetSameInstant( z.getRules().getOffset( d.toLocalDateTime() ) ) ),
+ true, // yes, replace zero offset with Z
+ DEFAULT_NORMALIZE_ZONE_ID,
+ DEFAULT_ALWAYS_ALLOW_STRINGIFIED_DATE_TIMESTAMPS
+ );
+
+ public static final RFC3339InstantDeserializer ZONED_DATE_TIME = new RFC3339InstantDeserializer<>(
+ ZonedDateTime.class, DateTimeFormatter.ISO_ZONED_DATE_TIME,
+ ZonedDateTime::from,
+ a -> ZonedDateTime.ofInstant( Instant.ofEpochMilli( a.value ), a.zoneId ),
+ a -> ZonedDateTime.ofInstant( Instant.ofEpochSecond( a.integer, a.fraction ), a.zoneId ),
+ ZonedDateTime::withZoneSameInstant,
+ false, // keep zero offset and Z separate since zones explicitly supported
+ DEFAULT_NORMALIZE_ZONE_ID,
+ DEFAULT_ALWAYS_ALLOW_STRINGIFIED_DATE_TIMESTAMPS
+ );
+
+ protected RFC3339InstantDeserializer(
+ Class supportedType,
+ DateTimeFormatter formatter,
+ Function parsedToValue,
+ Function fromMilliseconds,
+ Function fromNanoseconds,
+ BiFunction adjust,
+ boolean replaceZeroOffsetAsZ,
+ boolean normalizeZoneId,
+ boolean readNumericStringsAsTimestamp) {
+ super(
+ supportedType,
+ formatter,
+ parsedToValue,
+ fromMilliseconds,
+ fromNanoseconds,
+ adjust,
+ replaceZeroOffsetAsZ,
+ normalizeZoneId,
+ readNumericStringsAsTimestamp
+ );
+ }
+
+ @Override
+ protected T _fromString(JsonParser p, DeserializationContext ctxt, String string0) throws IOException {
+ return super._fromString(p, ctxt, string0.replace( ' ', 'T' ));
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/dropbox/sign/RFC3339JavaTimeModule.java b/src/main/java/com/dropbox/sign/RFC3339JavaTimeModule.java
new file mode 100644
index 00000000..762cc62c
--- /dev/null
+++ b/src/main/java/com/dropbox/sign/RFC3339JavaTimeModule.java
@@ -0,0 +1,39 @@
+/*
+ * Dropbox Sign API
+ * Dropbox Sign v3 API
+ *
+ * The version of the OpenAPI document: 3.0.0
+ * Contact: apisupport@hellosign.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.dropbox.sign;
+
+import java.time.Instant;
+import java.time.OffsetDateTime;
+import java.time.ZonedDateTime;
+
+import com.fasterxml.jackson.databind.module.SimpleModule;
+import com.fasterxml.jackson.databind.Module.SetupContext;
+
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
+public class RFC3339JavaTimeModule extends SimpleModule {
+ private static final long serialVersionUID = 1L;
+
+ public RFC3339JavaTimeModule() {
+ super("RFC3339JavaTimeModule");
+ }
+
+ @Override
+ public void setupModule(SetupContext context) {
+ super.setupModule(context);
+
+ addDeserializer(Instant.class, RFC3339InstantDeserializer.INSTANT);
+ addDeserializer(OffsetDateTime.class, RFC3339InstantDeserializer.OFFSET_DATE_TIME);
+ addDeserializer(ZonedDateTime.class, RFC3339InstantDeserializer.ZONED_DATE_TIME);
+ }
+
+}
diff --git a/src/main/java/com/dropbox/sign/ServerConfiguration.java b/src/main/java/com/dropbox/sign/ServerConfiguration.java
index e9479327..ca70aeee 100644
--- a/src/main/java/com/dropbox/sign/ServerConfiguration.java
+++ b/src/main/java/com/dropbox/sign/ServerConfiguration.java
@@ -18,7 +18,7 @@
/**
* Representing a Server configuration.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class ServerConfiguration {
public String URL;
public String description;
diff --git a/src/main/java/com/dropbox/sign/ServerVariable.java b/src/main/java/com/dropbox/sign/ServerVariable.java
index f45333ca..c160410a 100644
--- a/src/main/java/com/dropbox/sign/ServerVariable.java
+++ b/src/main/java/com/dropbox/sign/ServerVariable.java
@@ -18,7 +18,7 @@
/**
* Representing a Server Variable for server URL template substitution.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class ServerVariable {
public String description;
public String defaultValue;
diff --git a/src/main/java/com/dropbox/sign/StringUtil.java b/src/main/java/com/dropbox/sign/StringUtil.java
index 246fae55..efadddda 100644
--- a/src/main/java/com/dropbox/sign/StringUtil.java
+++ b/src/main/java/com/dropbox/sign/StringUtil.java
@@ -16,7 +16,7 @@
import java.util.Collection;
import java.util.Iterator;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
diff --git a/src/main/java/com/dropbox/sign/api/AccountApi.java b/src/main/java/com/dropbox/sign/api/AccountApi.java
index 95a90569..5f25fd3b 100644
--- a/src/main/java/com/dropbox/sign/api/AccountApi.java
+++ b/src/main/java/com/dropbox/sign/api/AccountApi.java
@@ -22,7 +22,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class AccountApi {
private ApiClient apiClient;
@@ -67,7 +67,7 @@ public void setApiClient(ApiClient apiClient) {
| 4XX | failed_operation | - |
*/
- public AccountCreateResponse accountCreate(AccountCreateRequest accountCreateRequest) throws ApiException {
+ public AccountCreateResponse accountCreate(@jakarta.annotation.Nonnull AccountCreateRequest accountCreateRequest) throws ApiException {
return accountCreateWithHttpInfo(accountCreateRequest).getData();
}
@@ -87,7 +87,7 @@ public AccountCreateResponse accountCreate(AccountCreateRequest accountCreateReq
| 4XX | failed_operation | - |
*/
- public ApiResponse accountCreateWithHttpInfo(AccountCreateRequest accountCreateRequest) throws ApiException {
+ public ApiResponse accountCreateWithHttpInfo(@jakarta.annotation.Nonnull AccountCreateRequest accountCreateRequest) throws ApiException {
// Check required parameters
if (accountCreateRequest == null) {
@@ -133,7 +133,7 @@ public ApiResponse accountCreateWithHttpInfo(AccountCreat
| 4XX | failed_operation | - |
*/
- public AccountGetResponse accountGet(String accountId, String emailAddress) throws ApiException {
+ public AccountGetResponse accountGet(@jakarta.annotation.Nullable String accountId, @jakarta.annotation.Nullable String emailAddress) throws ApiException {
return accountGetWithHttpInfo(accountId, emailAddress).getData();
}
@@ -193,7 +193,7 @@ public ApiResponse accountGetWithHttpInfo(String accountId)
| 4XX | failed_operation | - |
*/
- public ApiResponse accountGetWithHttpInfo(String accountId, String emailAddress) throws ApiException {
+ public ApiResponse accountGetWithHttpInfo(@jakarta.annotation.Nullable String accountId, @jakarta.annotation.Nullable String emailAddress) throws ApiException {
// Query parameters
List localVarQueryParams = new ArrayList<>(
@@ -239,7 +239,7 @@ public ApiResponse accountGetWithHttpInfo(String accountId,
| 4XX | failed_operation | - |
*/
- public AccountGetResponse accountUpdate(AccountUpdateRequest accountUpdateRequest) throws ApiException {
+ public AccountGetResponse accountUpdate(@jakarta.annotation.Nonnull AccountUpdateRequest accountUpdateRequest) throws ApiException {
return accountUpdateWithHttpInfo(accountUpdateRequest).getData();
}
@@ -259,7 +259,7 @@ public AccountGetResponse accountUpdate(AccountUpdateRequest accountUpdateReques
| 4XX | failed_operation | - |
*/
- public ApiResponse accountUpdateWithHttpInfo(AccountUpdateRequest accountUpdateRequest) throws ApiException {
+ public ApiResponse accountUpdateWithHttpInfo(@jakarta.annotation.Nonnull AccountUpdateRequest accountUpdateRequest) throws ApiException {
// Check required parameters
if (accountUpdateRequest == null) {
@@ -304,7 +304,7 @@ public ApiResponse accountUpdateWithHttpInfo(AccountUpdateRe
| 4XX | failed_operation | - |
*/
- public AccountVerifyResponse accountVerify(AccountVerifyRequest accountVerifyRequest) throws ApiException {
+ public AccountVerifyResponse accountVerify(@jakarta.annotation.Nonnull AccountVerifyRequest accountVerifyRequest) throws ApiException {
return accountVerifyWithHttpInfo(accountVerifyRequest).getData();
}
@@ -324,7 +324,7 @@ public AccountVerifyResponse accountVerify(AccountVerifyRequest accountVerifyReq
| 4XX | failed_operation | - |
*/
- public ApiResponse accountVerifyWithHttpInfo(AccountVerifyRequest accountVerifyRequest) throws ApiException {
+ public ApiResponse accountVerifyWithHttpInfo(@jakarta.annotation.Nonnull AccountVerifyRequest accountVerifyRequest) throws ApiException {
// Check required parameters
if (accountVerifyRequest == null) {
diff --git a/src/main/java/com/dropbox/sign/api/ApiAppApi.java b/src/main/java/com/dropbox/sign/api/ApiAppApi.java
index b30d6505..fca767d9 100644
--- a/src/main/java/com/dropbox/sign/api/ApiAppApi.java
+++ b/src/main/java/com/dropbox/sign/api/ApiAppApi.java
@@ -20,7 +20,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class ApiAppApi {
private ApiClient apiClient;
@@ -65,7 +65,7 @@ public void setApiClient(ApiClient apiClient) {
| 4XX | failed_operation | - |
*/
- public ApiAppGetResponse apiAppCreate(ApiAppCreateRequest apiAppCreateRequest) throws ApiException {
+ public ApiAppGetResponse apiAppCreate(@jakarta.annotation.Nonnull ApiAppCreateRequest apiAppCreateRequest) throws ApiException {
return apiAppCreateWithHttpInfo(apiAppCreateRequest).getData();
}
@@ -85,7 +85,7 @@ public ApiAppGetResponse apiAppCreate(ApiAppCreateRequest apiAppCreateRequest) t
| 4XX | failed_operation | - |
*/
- public ApiResponse apiAppCreateWithHttpInfo(ApiAppCreateRequest apiAppCreateRequest) throws ApiException {
+ public ApiResponse apiAppCreateWithHttpInfo(@jakarta.annotation.Nonnull ApiAppCreateRequest apiAppCreateRequest) throws ApiException {
// Check required parameters
if (apiAppCreateRequest == null) {
@@ -129,7 +129,7 @@ public ApiResponse apiAppCreateWithHttpInfo(ApiAppCreateReque
| 4XX | failed_operation | - |
*/
- public void apiAppDelete(String clientId) throws ApiException {
+ public void apiAppDelete(@jakarta.annotation.Nonnull String clientId) throws ApiException {
apiAppDeleteWithHttpInfo(clientId);
}
@@ -149,7 +149,7 @@ public void apiAppDelete(String clientId) throws ApiException {
| 4XX | failed_operation | - |
*/
- public ApiResponse apiAppDeleteWithHttpInfo(String clientId) throws ApiException {
+ public ApiResponse apiAppDeleteWithHttpInfo(@jakarta.annotation.Nonnull String clientId) throws ApiException {
// Check required parameters
if (clientId == null) {
@@ -197,7 +197,7 @@ public ApiResponse apiAppDeleteWithHttpInfo(String clientId) throws ApiExc
| 4XX | failed_operation | - |
*/
- public ApiAppGetResponse apiAppGet(String clientId) throws ApiException {
+ public ApiAppGetResponse apiAppGet(@jakarta.annotation.Nonnull String clientId) throws ApiException {
return apiAppGetWithHttpInfo(clientId).getData();
}
@@ -217,7 +217,7 @@ public ApiAppGetResponse apiAppGet(String clientId) throws ApiException {
| 4XX | failed_operation | - |
*/
- public ApiResponse apiAppGetWithHttpInfo(String clientId) throws ApiException {
+ public ApiResponse apiAppGetWithHttpInfo(@jakarta.annotation.Nonnull String clientId) throws ApiException {
// Check required parameters
if (clientId == null) {
@@ -267,7 +267,7 @@ public ApiResponse apiAppGetWithHttpInfo(String clientId) thr
| 4XX | failed_operation | - |
*/
- public ApiAppListResponse apiAppList(Integer page, Integer pageSize) throws ApiException {
+ public ApiAppListResponse apiAppList(@jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize) throws ApiException {
return apiAppListWithHttpInfo(page, pageSize).getData();
}
@@ -327,7 +327,7 @@ public ApiResponse apiAppListWithHttpInfo(Integer page) thro
| 4XX | failed_operation | - |
*/
- public ApiResponse apiAppListWithHttpInfo(Integer page, Integer pageSize) throws ApiException {
+ public ApiResponse apiAppListWithHttpInfo(@jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize) throws ApiException {
if (page == null) {
page = 1;
@@ -380,7 +380,7 @@ public ApiResponse apiAppListWithHttpInfo(Integer page, Inte
| 4XX | failed_operation | - |
*/
- public ApiAppGetResponse apiAppUpdate(String clientId, ApiAppUpdateRequest apiAppUpdateRequest) throws ApiException {
+ public ApiAppGetResponse apiAppUpdate(@jakarta.annotation.Nonnull String clientId, @jakarta.annotation.Nonnull ApiAppUpdateRequest apiAppUpdateRequest) throws ApiException {
return apiAppUpdateWithHttpInfo(clientId, apiAppUpdateRequest).getData();
}
@@ -401,7 +401,7 @@ public ApiAppGetResponse apiAppUpdate(String clientId, ApiAppUpdateRequest apiAp
| 4XX | failed_operation | - |
*/
- public ApiResponse apiAppUpdateWithHttpInfo(String clientId, ApiAppUpdateRequest apiAppUpdateRequest) throws ApiException {
+ public ApiResponse apiAppUpdateWithHttpInfo(@jakarta.annotation.Nonnull String clientId, @jakarta.annotation.Nonnull ApiAppUpdateRequest apiAppUpdateRequest) throws ApiException {
// Check required parameters
if (clientId == null) {
diff --git a/src/main/java/com/dropbox/sign/api/BulkSendJobApi.java b/src/main/java/com/dropbox/sign/api/BulkSendJobApi.java
index bde06732..52ed5c84 100644
--- a/src/main/java/com/dropbox/sign/api/BulkSendJobApi.java
+++ b/src/main/java/com/dropbox/sign/api/BulkSendJobApi.java
@@ -18,7 +18,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class BulkSendJobApi {
private ApiClient apiClient;
@@ -65,7 +65,7 @@ public void setApiClient(ApiClient apiClient) {
| 4XX | failed_operation | - |
*/
- public BulkSendJobGetResponse bulkSendJobGet(String bulkSendJobId, Integer page, Integer pageSize) throws ApiException {
+ public BulkSendJobGetResponse bulkSendJobGet(@jakarta.annotation.Nonnull String bulkSendJobId, @jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize) throws ApiException {
return bulkSendJobGetWithHttpInfo(bulkSendJobId, page, pageSize).getData();
}
@@ -126,7 +126,7 @@ public ApiResponse bulkSendJobGetWithHttpInfo(String bul
| 4XX | failed_operation | - |
*/
- public ApiResponse bulkSendJobGetWithHttpInfo(String bulkSendJobId, Integer page, Integer pageSize) throws ApiException {
+ public ApiResponse bulkSendJobGetWithHttpInfo(@jakarta.annotation.Nonnull String bulkSendJobId, @jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize) throws ApiException {
if (page == null) {
page = 1;
@@ -188,7 +188,7 @@ public ApiResponse bulkSendJobGetWithHttpInfo(String bul
| 4XX | failed_operation | - |
*/
- public BulkSendJobListResponse bulkSendJobList(Integer page, Integer pageSize) throws ApiException {
+ public BulkSendJobListResponse bulkSendJobList(@jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize) throws ApiException {
return bulkSendJobListWithHttpInfo(page, pageSize).getData();
}
@@ -248,7 +248,7 @@ public ApiResponse bulkSendJobListWithHttpInfo(Integer
| 4XX | failed_operation | - |
*/
- public ApiResponse bulkSendJobListWithHttpInfo(Integer page, Integer pageSize) throws ApiException {
+ public ApiResponse bulkSendJobListWithHttpInfo(@jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize) throws ApiException {
if (page == null) {
page = 1;
diff --git a/src/main/java/com/dropbox/sign/api/DocumentApi.java b/src/main/java/com/dropbox/sign/api/DocumentApi.java
index 1bf68ca4..209382a4 100644
--- a/src/main/java/com/dropbox/sign/api/DocumentApi.java
+++ b/src/main/java/com/dropbox/sign/api/DocumentApi.java
@@ -18,7 +18,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class DocumentApi {
private ApiClient apiClient;
@@ -63,7 +63,7 @@ public void setApiClient(ApiClient apiClient) {
| 4XX | failed_operation | - |
*/
- public DocumentFieldDetectionResponse documentDetectFields(DocumentFieldDetectionRequest documentFieldDetectionRequest) throws ApiException {
+ public DocumentFieldDetectionResponse documentDetectFields(@jakarta.annotation.Nonnull DocumentFieldDetectionRequest documentFieldDetectionRequest) throws ApiException {
return documentDetectFieldsWithHttpInfo(documentFieldDetectionRequest).getData();
}
@@ -83,7 +83,7 @@ public DocumentFieldDetectionResponse documentDetectFields(DocumentFieldDetectio
| 4XX | failed_operation | - |
*/
- public ApiResponse documentDetectFieldsWithHttpInfo(DocumentFieldDetectionRequest documentFieldDetectionRequest) throws ApiException {
+ public ApiResponse documentDetectFieldsWithHttpInfo(@jakarta.annotation.Nonnull DocumentFieldDetectionRequest documentFieldDetectionRequest) throws ApiException {
// Check required parameters
if (documentFieldDetectionRequest == null) {
diff --git a/src/main/java/com/dropbox/sign/api/EmbeddedApi.java b/src/main/java/com/dropbox/sign/api/EmbeddedApi.java
index 3cc198b8..651919e9 100644
--- a/src/main/java/com/dropbox/sign/api/EmbeddedApi.java
+++ b/src/main/java/com/dropbox/sign/api/EmbeddedApi.java
@@ -19,7 +19,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class EmbeddedApi {
private ApiClient apiClient;
@@ -65,7 +65,7 @@ public void setApiClient(ApiClient apiClient) {
| 4XX | failed_operation | - |
*/
- public EmbeddedEditUrlResponse embeddedEditUrl(String templateId, EmbeddedEditUrlRequest embeddedEditUrlRequest) throws ApiException {
+ public EmbeddedEditUrlResponse embeddedEditUrl(@jakarta.annotation.Nonnull String templateId, @jakarta.annotation.Nonnull EmbeddedEditUrlRequest embeddedEditUrlRequest) throws ApiException {
return embeddedEditUrlWithHttpInfo(templateId, embeddedEditUrlRequest).getData();
}
@@ -86,7 +86,7 @@ public EmbeddedEditUrlResponse embeddedEditUrl(String templateId, EmbeddedEditUr
| 4XX | failed_operation | - |
*/
- public ApiResponse embeddedEditUrlWithHttpInfo(String templateId, EmbeddedEditUrlRequest embeddedEditUrlRequest) throws ApiException {
+ public ApiResponse embeddedEditUrlWithHttpInfo(@jakarta.annotation.Nonnull String templateId, @jakarta.annotation.Nonnull EmbeddedEditUrlRequest embeddedEditUrlRequest) throws ApiException {
// Check required parameters
if (templateId == null) {
@@ -138,7 +138,7 @@ public ApiResponse embeddedEditUrlWithHttpInfo(String t
| 4XX | failed_operation | - |
*/
- public EmbeddedSignUrlResponse embeddedSignUrl(String signatureId) throws ApiException {
+ public EmbeddedSignUrlResponse embeddedSignUrl(@jakarta.annotation.Nonnull String signatureId) throws ApiException {
return embeddedSignUrlWithHttpInfo(signatureId).getData();
}
@@ -158,7 +158,7 @@ public EmbeddedSignUrlResponse embeddedSignUrl(String signatureId) throws ApiExc
| 4XX | failed_operation | - |
*/
- public ApiResponse embeddedSignUrlWithHttpInfo(String signatureId) throws ApiException {
+ public ApiResponse embeddedSignUrlWithHttpInfo(@jakarta.annotation.Nonnull String signatureId) throws ApiException {
// Check required parameters
if (signatureId == null) {
diff --git a/src/main/java/com/dropbox/sign/api/FaxApi.java b/src/main/java/com/dropbox/sign/api/FaxApi.java
index 07aa92b0..65f6f778 100644
--- a/src/main/java/com/dropbox/sign/api/FaxApi.java
+++ b/src/main/java/com/dropbox/sign/api/FaxApi.java
@@ -20,7 +20,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class FaxApi {
private ApiClient apiClient;
@@ -64,7 +64,7 @@ public void setApiClient(ApiClient apiClient) {
| 4XX | failed_operation | - |
*/
- public void faxDelete(String faxId) throws ApiException {
+ public void faxDelete(@jakarta.annotation.Nonnull String faxId) throws ApiException {
faxDeleteWithHttpInfo(faxId);
}
@@ -84,7 +84,7 @@ public void faxDelete(String faxId) throws ApiException {
| 4XX | failed_operation | - |
*/
- public ApiResponse faxDeleteWithHttpInfo(String faxId) throws ApiException {
+ public ApiResponse faxDeleteWithHttpInfo(@jakarta.annotation.Nonnull String faxId) throws ApiException {
// Check required parameters
if (faxId == null) {
@@ -132,7 +132,7 @@ public ApiResponse faxDeleteWithHttpInfo(String faxId) throws ApiException
| 4XX | failed_operation | - |
*/
- public File faxFiles(String faxId) throws ApiException {
+ public File faxFiles(@jakarta.annotation.Nonnull String faxId) throws ApiException {
return faxFilesWithHttpInfo(faxId).getData();
}
@@ -152,7 +152,7 @@ public File faxFiles(String faxId) throws ApiException {
| 4XX | failed_operation | - |
*/
- public ApiResponse faxFilesWithHttpInfo(String faxId) throws ApiException {
+ public ApiResponse faxFilesWithHttpInfo(@jakarta.annotation.Nonnull String faxId) throws ApiException {
// Check required parameters
if (faxId == null) {
@@ -201,7 +201,7 @@ public ApiResponse faxFilesWithHttpInfo(String faxId) throws ApiException
| 4XX | failed_operation | - |
*/
- public FaxGetResponse faxGet(String faxId) throws ApiException {
+ public FaxGetResponse faxGet(@jakarta.annotation.Nonnull String faxId) throws ApiException {
return faxGetWithHttpInfo(faxId).getData();
}
@@ -221,7 +221,7 @@ public FaxGetResponse faxGet(String faxId) throws ApiException {
| 4XX | failed_operation | - |
*/
- public ApiResponse faxGetWithHttpInfo(String faxId) throws ApiException {
+ public ApiResponse faxGetWithHttpInfo(@jakarta.annotation.Nonnull String faxId) throws ApiException {
// Check required parameters
if (faxId == null) {
@@ -271,7 +271,7 @@ public ApiResponse faxGetWithHttpInfo(String faxId) throws ApiEx
| 4XX | failed_operation | - |
*/
- public FaxListResponse faxList(Integer page, Integer pageSize) throws ApiException {
+ public FaxListResponse faxList(@jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize) throws ApiException {
return faxListWithHttpInfo(page, pageSize).getData();
}
@@ -331,7 +331,7 @@ public ApiResponse faxListWithHttpInfo(Integer page) throws Api
| 4XX | failed_operation | - |
*/
- public ApiResponse faxListWithHttpInfo(Integer page, Integer pageSize) throws ApiException {
+ public ApiResponse faxListWithHttpInfo(@jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize) throws ApiException {
if (page == null) {
page = 1;
@@ -383,7 +383,7 @@ public ApiResponse faxListWithHttpInfo(Integer page, Integer pa
| 4XX | failed_operation | - |
*/
- public FaxGetResponse faxSend(FaxSendRequest faxSendRequest) throws ApiException {
+ public FaxGetResponse faxSend(@jakarta.annotation.Nonnull FaxSendRequest faxSendRequest) throws ApiException {
return faxSendWithHttpInfo(faxSendRequest).getData();
}
@@ -403,7 +403,7 @@ public FaxGetResponse faxSend(FaxSendRequest faxSendRequest) throws ApiException
| 4XX | failed_operation | - |
*/
- public ApiResponse faxSendWithHttpInfo(FaxSendRequest faxSendRequest) throws ApiException {
+ public ApiResponse faxSendWithHttpInfo(@jakarta.annotation.Nonnull FaxSendRequest faxSendRequest) throws ApiException {
// Check required parameters
if (faxSendRequest == null) {
diff --git a/src/main/java/com/dropbox/sign/api/FaxLineApi.java b/src/main/java/com/dropbox/sign/api/FaxLineApi.java
index 4980f9f7..1bfc1171 100644
--- a/src/main/java/com/dropbox/sign/api/FaxLineApi.java
+++ b/src/main/java/com/dropbox/sign/api/FaxLineApi.java
@@ -23,7 +23,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class FaxLineApi {
private ApiClient apiClient;
@@ -68,7 +68,7 @@ public void setApiClient(ApiClient apiClient) {
| 4XX | failed_operation | - |
*/
- public FaxLineResponse faxLineAddUser(FaxLineAddUserRequest faxLineAddUserRequest) throws ApiException {
+ public FaxLineResponse faxLineAddUser(@jakarta.annotation.Nonnull FaxLineAddUserRequest faxLineAddUserRequest) throws ApiException {
return faxLineAddUserWithHttpInfo(faxLineAddUserRequest).getData();
}
@@ -88,7 +88,7 @@ public FaxLineResponse faxLineAddUser(FaxLineAddUserRequest faxLineAddUserReques
| 4XX | failed_operation | - |
*/
- public ApiResponse faxLineAddUserWithHttpInfo(FaxLineAddUserRequest faxLineAddUserRequest) throws ApiException {
+ public ApiResponse faxLineAddUserWithHttpInfo(@jakarta.annotation.Nonnull FaxLineAddUserRequest faxLineAddUserRequest) throws ApiException {
// Check required parameters
if (faxLineAddUserRequest == null) {
@@ -136,7 +136,7 @@ public ApiResponse faxLineAddUserWithHttpInfo(FaxLineAddUserReq
| 4XX | failed_operation | - |
*/
- public FaxLineAreaCodeGetResponse faxLineAreaCodeGet(String country, String state, String province, String city) throws ApiException {
+ public FaxLineAreaCodeGetResponse faxLineAreaCodeGet(@jakarta.annotation.Nonnull String country, @jakarta.annotation.Nullable String state, @jakarta.annotation.Nullable String province, @jakarta.annotation.Nullable String city) throws ApiException {
return faxLineAreaCodeGetWithHttpInfo(country, state, province, city).getData();
}
@@ -220,7 +220,7 @@ public ApiResponse faxLineAreaCodeGetWithHttpInfo(St
| 4XX | failed_operation | - |
*/
- public ApiResponse faxLineAreaCodeGetWithHttpInfo(String country, String state, String province, String city) throws ApiException {
+ public ApiResponse faxLineAreaCodeGetWithHttpInfo(@jakarta.annotation.Nonnull String country, @jakarta.annotation.Nullable String state, @jakarta.annotation.Nullable String province, @jakarta.annotation.Nullable String city) throws ApiException {
// Check required parameters
if (country == null) {
@@ -273,7 +273,7 @@ public ApiResponse faxLineAreaCodeGetWithHttpInfo(St
| 4XX | failed_operation | - |
*/
- public FaxLineResponse faxLineCreate(FaxLineCreateRequest faxLineCreateRequest) throws ApiException {
+ public FaxLineResponse faxLineCreate(@jakarta.annotation.Nonnull FaxLineCreateRequest faxLineCreateRequest) throws ApiException {
return faxLineCreateWithHttpInfo(faxLineCreateRequest).getData();
}
@@ -293,7 +293,7 @@ public FaxLineResponse faxLineCreate(FaxLineCreateRequest faxLineCreateRequest)
| 4XX | failed_operation | - |
*/
- public ApiResponse faxLineCreateWithHttpInfo(FaxLineCreateRequest faxLineCreateRequest) throws ApiException {
+ public ApiResponse faxLineCreateWithHttpInfo(@jakarta.annotation.Nonnull FaxLineCreateRequest faxLineCreateRequest) throws ApiException {
// Check required parameters
if (faxLineCreateRequest == null) {
@@ -337,7 +337,7 @@ public ApiResponse faxLineCreateWithHttpInfo(FaxLineCreateReque
| 4XX | failed_operation | - |
*/
- public void faxLineDelete(FaxLineDeleteRequest faxLineDeleteRequest) throws ApiException {
+ public void faxLineDelete(@jakarta.annotation.Nonnull FaxLineDeleteRequest faxLineDeleteRequest) throws ApiException {
faxLineDeleteWithHttpInfo(faxLineDeleteRequest);
}
@@ -357,7 +357,7 @@ public void faxLineDelete(FaxLineDeleteRequest faxLineDeleteRequest) throws ApiE
| 4XX | failed_operation | - |
*/
- public ApiResponse faxLineDeleteWithHttpInfo(FaxLineDeleteRequest faxLineDeleteRequest) throws ApiException {
+ public ApiResponse faxLineDeleteWithHttpInfo(@jakarta.annotation.Nonnull FaxLineDeleteRequest faxLineDeleteRequest) throws ApiException {
// Check required parameters
if (faxLineDeleteRequest == null) {
@@ -401,7 +401,7 @@ public ApiResponse faxLineDeleteWithHttpInfo(FaxLineDeleteRequest faxLineD
| 4XX | failed_operation | - |
*/
- public FaxLineResponse faxLineGet(String number) throws ApiException {
+ public FaxLineResponse faxLineGet(@jakarta.annotation.Nonnull String number) throws ApiException {
return faxLineGetWithHttpInfo(number).getData();
}
@@ -421,7 +421,7 @@ public FaxLineResponse faxLineGet(String number) throws ApiException {
| 4XX | failed_operation | - |
*/
- public ApiResponse faxLineGetWithHttpInfo(String number) throws ApiException {
+ public ApiResponse faxLineGetWithHttpInfo(@jakarta.annotation.Nonnull String number) throws ApiException {
// Check required parameters
if (number == null) {
@@ -474,7 +474,7 @@ public ApiResponse faxLineGetWithHttpInfo(String number) throws
| 4XX | failed_operation | - |
*/
- public FaxLineListResponse faxLineList(String accountId, Integer page, Integer pageSize, Boolean showTeamLines) throws ApiException {
+ public FaxLineListResponse faxLineList(@jakarta.annotation.Nullable String accountId, @jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize, @jakarta.annotation.Nullable Boolean showTeamLines) throws ApiException {
return faxLineListWithHttpInfo(accountId, page, pageSize, showTeamLines).getData();
}
@@ -582,7 +582,7 @@ public ApiResponse faxLineListWithHttpInfo(String accountId
| 4XX | failed_operation | - |
*/
- public ApiResponse faxLineListWithHttpInfo(String accountId, Integer page, Integer pageSize, Boolean showTeamLines) throws ApiException {
+ public ApiResponse faxLineListWithHttpInfo(@jakarta.annotation.Nullable String accountId, @jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize, @jakarta.annotation.Nullable Boolean showTeamLines) throws ApiException {
if (page == null) {
page = 1;
@@ -636,7 +636,7 @@ public ApiResponse faxLineListWithHttpInfo(String accountId
| 4XX | failed_operation | - |
*/
- public FaxLineResponse faxLineRemoveUser(FaxLineRemoveUserRequest faxLineRemoveUserRequest) throws ApiException {
+ public FaxLineResponse faxLineRemoveUser(@jakarta.annotation.Nonnull FaxLineRemoveUserRequest faxLineRemoveUserRequest) throws ApiException {
return faxLineRemoveUserWithHttpInfo(faxLineRemoveUserRequest).getData();
}
@@ -656,7 +656,7 @@ public FaxLineResponse faxLineRemoveUser(FaxLineRemoveUserRequest faxLineRemoveU
| 4XX | failed_operation | - |
*/
- public ApiResponse faxLineRemoveUserWithHttpInfo(FaxLineRemoveUserRequest faxLineRemoveUserRequest) throws ApiException {
+ public ApiResponse faxLineRemoveUserWithHttpInfo(@jakarta.annotation.Nonnull FaxLineRemoveUserRequest faxLineRemoveUserRequest) throws ApiException {
// Check required parameters
if (faxLineRemoveUserRequest == null) {
diff --git a/src/main/java/com/dropbox/sign/api/OAuthApi.java b/src/main/java/com/dropbox/sign/api/OAuthApi.java
index d14b6cdb..9be3c5c4 100644
--- a/src/main/java/com/dropbox/sign/api/OAuthApi.java
+++ b/src/main/java/com/dropbox/sign/api/OAuthApi.java
@@ -19,7 +19,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class OAuthApi {
private ApiClient apiClient;
@@ -64,7 +64,7 @@ public void setApiClient(ApiClient apiClient) {
| 4XX | failed_operation | - |
*/
- public OAuthTokenResponse oauthTokenGenerate(OAuthTokenGenerateRequest oauthTokenGenerateRequest) throws ApiException {
+ public OAuthTokenResponse oauthTokenGenerate(@jakarta.annotation.Nonnull OAuthTokenGenerateRequest oauthTokenGenerateRequest) throws ApiException {
return oauthTokenGenerateWithHttpInfo(oauthTokenGenerateRequest).getData();
}
@@ -84,7 +84,7 @@ public OAuthTokenResponse oauthTokenGenerate(OAuthTokenGenerateRequest oauthToke
| 4XX | failed_operation | - |
*/
- public ApiResponse oauthTokenGenerateWithHttpInfo(OAuthTokenGenerateRequest oauthTokenGenerateRequest) throws ApiException {
+ public ApiResponse oauthTokenGenerateWithHttpInfo(@jakarta.annotation.Nonnull OAuthTokenGenerateRequest oauthTokenGenerateRequest) throws ApiException {
// Check required parameters
if (oauthTokenGenerateRequest == null) {
@@ -128,7 +128,7 @@ public ApiResponse oauthTokenGenerateWithHttpInfo(OAuthToken
| 4XX | failed_operation | - |
*/
- public OAuthTokenResponse oauthTokenRefresh(OAuthTokenRefreshRequest oauthTokenRefreshRequest) throws ApiException {
+ public OAuthTokenResponse oauthTokenRefresh(@jakarta.annotation.Nonnull OAuthTokenRefreshRequest oauthTokenRefreshRequest) throws ApiException {
return oauthTokenRefreshWithHttpInfo(oauthTokenRefreshRequest).getData();
}
@@ -148,7 +148,7 @@ public OAuthTokenResponse oauthTokenRefresh(OAuthTokenRefreshRequest oauthTokenR
| 4XX | failed_operation | - |
*/
- public ApiResponse oauthTokenRefreshWithHttpInfo(OAuthTokenRefreshRequest oauthTokenRefreshRequest) throws ApiException {
+ public ApiResponse oauthTokenRefreshWithHttpInfo(@jakarta.annotation.Nonnull OAuthTokenRefreshRequest oauthTokenRefreshRequest) throws ApiException {
// Check required parameters
if (oauthTokenRefreshRequest == null) {
diff --git a/src/main/java/com/dropbox/sign/api/ReportApi.java b/src/main/java/com/dropbox/sign/api/ReportApi.java
index 472111d6..fda5579b 100644
--- a/src/main/java/com/dropbox/sign/api/ReportApi.java
+++ b/src/main/java/com/dropbox/sign/api/ReportApi.java
@@ -18,7 +18,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class ReportApi {
private ApiClient apiClient;
@@ -63,7 +63,7 @@ public void setApiClient(ApiClient apiClient) {
| 4XX | failed_operation | - |
*/
- public ReportCreateResponse reportCreate(ReportCreateRequest reportCreateRequest) throws ApiException {
+ public ReportCreateResponse reportCreate(@jakarta.annotation.Nonnull ReportCreateRequest reportCreateRequest) throws ApiException {
return reportCreateWithHttpInfo(reportCreateRequest).getData();
}
@@ -83,7 +83,7 @@ public ReportCreateResponse reportCreate(ReportCreateRequest reportCreateRequest
| 4XX | failed_operation | - |
*/
- public ApiResponse reportCreateWithHttpInfo(ReportCreateRequest reportCreateRequest) throws ApiException {
+ public ApiResponse reportCreateWithHttpInfo(@jakarta.annotation.Nonnull ReportCreateRequest reportCreateRequest) throws ApiException {
// Check required parameters
if (reportCreateRequest == null) {
diff --git a/src/main/java/com/dropbox/sign/api/SignatureRequestApi.java b/src/main/java/com/dropbox/sign/api/SignatureRequestApi.java
index 539a8720..5cc1d24f 100644
--- a/src/main/java/com/dropbox/sign/api/SignatureRequestApi.java
+++ b/src/main/java/com/dropbox/sign/api/SignatureRequestApi.java
@@ -34,7 +34,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class SignatureRequestApi {
private ApiClient apiClient;
@@ -79,7 +79,7 @@ public void setApiClient(ApiClient apiClient) {
| 4XX | failed_operation | - |
*/
- public BulkSendJobSendResponse signatureRequestBulkCreateEmbeddedWithTemplate(SignatureRequestBulkCreateEmbeddedWithTemplateRequest signatureRequestBulkCreateEmbeddedWithTemplateRequest) throws ApiException {
+ public BulkSendJobSendResponse signatureRequestBulkCreateEmbeddedWithTemplate(@jakarta.annotation.Nonnull SignatureRequestBulkCreateEmbeddedWithTemplateRequest signatureRequestBulkCreateEmbeddedWithTemplateRequest) throws ApiException {
return signatureRequestBulkCreateEmbeddedWithTemplateWithHttpInfo(signatureRequestBulkCreateEmbeddedWithTemplateRequest).getData();
}
@@ -99,7 +99,7 @@ public BulkSendJobSendResponse signatureRequestBulkCreateEmbeddedWithTemplate(Si
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestBulkCreateEmbeddedWithTemplateWithHttpInfo(SignatureRequestBulkCreateEmbeddedWithTemplateRequest signatureRequestBulkCreateEmbeddedWithTemplateRequest) throws ApiException {
+ public ApiResponse signatureRequestBulkCreateEmbeddedWithTemplateWithHttpInfo(@jakarta.annotation.Nonnull SignatureRequestBulkCreateEmbeddedWithTemplateRequest signatureRequestBulkCreateEmbeddedWithTemplateRequest) throws ApiException {
// Check required parameters
if (signatureRequestBulkCreateEmbeddedWithTemplateRequest == null) {
@@ -144,7 +144,7 @@ public ApiResponse signatureRequestBulkCreateEmbeddedWi
| 4XX | failed_operation | - |
*/
- public BulkSendJobSendResponse signatureRequestBulkSendWithTemplate(SignatureRequestBulkSendWithTemplateRequest signatureRequestBulkSendWithTemplateRequest) throws ApiException {
+ public BulkSendJobSendResponse signatureRequestBulkSendWithTemplate(@jakarta.annotation.Nonnull SignatureRequestBulkSendWithTemplateRequest signatureRequestBulkSendWithTemplateRequest) throws ApiException {
return signatureRequestBulkSendWithTemplateWithHttpInfo(signatureRequestBulkSendWithTemplateRequest).getData();
}
@@ -164,7 +164,7 @@ public BulkSendJobSendResponse signatureRequestBulkSendWithTemplate(SignatureReq
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestBulkSendWithTemplateWithHttpInfo(SignatureRequestBulkSendWithTemplateRequest signatureRequestBulkSendWithTemplateRequest) throws ApiException {
+ public ApiResponse signatureRequestBulkSendWithTemplateWithHttpInfo(@jakarta.annotation.Nonnull SignatureRequestBulkSendWithTemplateRequest signatureRequestBulkSendWithTemplateRequest) throws ApiException {
// Check required parameters
if (signatureRequestBulkSendWithTemplateRequest == null) {
@@ -208,7 +208,7 @@ public ApiResponse signatureRequestBulkSendWithTemplate
| 4XX | failed_operation | - |
*/
- public void signatureRequestCancel(String signatureRequestId) throws ApiException {
+ public void signatureRequestCancel(@jakarta.annotation.Nonnull String signatureRequestId) throws ApiException {
signatureRequestCancelWithHttpInfo(signatureRequestId);
}
@@ -228,7 +228,7 @@ public void signatureRequestCancel(String signatureRequestId) throws ApiExceptio
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestCancelWithHttpInfo(String signatureRequestId) throws ApiException {
+ public ApiResponse signatureRequestCancelWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -276,7 +276,7 @@ public ApiResponse signatureRequestCancelWithHttpInfo(String signatureRequ
| 4XX | failed_operation | - |
*/
- public SignatureRequestGetResponse signatureRequestCreateEmbedded(SignatureRequestCreateEmbeddedRequest signatureRequestCreateEmbeddedRequest) throws ApiException {
+ public SignatureRequestGetResponse signatureRequestCreateEmbedded(@jakarta.annotation.Nonnull SignatureRequestCreateEmbeddedRequest signatureRequestCreateEmbeddedRequest) throws ApiException {
return signatureRequestCreateEmbeddedWithHttpInfo(signatureRequestCreateEmbeddedRequest).getData();
}
@@ -296,7 +296,7 @@ public SignatureRequestGetResponse signatureRequestCreateEmbedded(SignatureReque
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestCreateEmbeddedWithHttpInfo(SignatureRequestCreateEmbeddedRequest signatureRequestCreateEmbeddedRequest) throws ApiException {
+ public ApiResponse signatureRequestCreateEmbeddedWithHttpInfo(@jakarta.annotation.Nonnull SignatureRequestCreateEmbeddedRequest signatureRequestCreateEmbeddedRequest) throws ApiException {
// Check required parameters
if (signatureRequestCreateEmbeddedRequest == null) {
@@ -341,7 +341,7 @@ public ApiResponse signatureRequestCreateEmbeddedWi
| 4XX | failed_operation | - |
*/
- public SignatureRequestGetResponse signatureRequestCreateEmbeddedWithTemplate(SignatureRequestCreateEmbeddedWithTemplateRequest signatureRequestCreateEmbeddedWithTemplateRequest) throws ApiException {
+ public SignatureRequestGetResponse signatureRequestCreateEmbeddedWithTemplate(@jakarta.annotation.Nonnull SignatureRequestCreateEmbeddedWithTemplateRequest signatureRequestCreateEmbeddedWithTemplateRequest) throws ApiException {
return signatureRequestCreateEmbeddedWithTemplateWithHttpInfo(signatureRequestCreateEmbeddedWithTemplateRequest).getData();
}
@@ -361,7 +361,7 @@ public SignatureRequestGetResponse signatureRequestCreateEmbeddedWithTemplate(Si
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestCreateEmbeddedWithTemplateWithHttpInfo(SignatureRequestCreateEmbeddedWithTemplateRequest signatureRequestCreateEmbeddedWithTemplateRequest) throws ApiException {
+ public ApiResponse signatureRequestCreateEmbeddedWithTemplateWithHttpInfo(@jakarta.annotation.Nonnull SignatureRequestCreateEmbeddedWithTemplateRequest signatureRequestCreateEmbeddedWithTemplateRequest) throws ApiException {
// Check required parameters
if (signatureRequestCreateEmbeddedWithTemplateRequest == null) {
@@ -407,7 +407,7 @@ public ApiResponse signatureRequestCreateEmbeddedWi
| 4XX | failed_operation | - |
*/
- public SignatureRequestGetResponse signatureRequestEdit(String signatureRequestId, SignatureRequestEditRequest signatureRequestEditRequest) throws ApiException {
+ public SignatureRequestGetResponse signatureRequestEdit(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nonnull SignatureRequestEditRequest signatureRequestEditRequest) throws ApiException {
return signatureRequestEditWithHttpInfo(signatureRequestId, signatureRequestEditRequest).getData();
}
@@ -428,7 +428,7 @@ public SignatureRequestGetResponse signatureRequestEdit(String signatureRequestI
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestEditWithHttpInfo(String signatureRequestId, SignatureRequestEditRequest signatureRequestEditRequest) throws ApiException {
+ public ApiResponse signatureRequestEditWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nonnull SignatureRequestEditRequest signatureRequestEditRequest) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -481,7 +481,7 @@ public ApiResponse signatureRequestEditWithHttpInfo
| 4XX | failed_operation | - |
*/
- public SignatureRequestGetResponse signatureRequestEditEmbedded(String signatureRequestId, SignatureRequestEditEmbeddedRequest signatureRequestEditEmbeddedRequest) throws ApiException {
+ public SignatureRequestGetResponse signatureRequestEditEmbedded(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nonnull SignatureRequestEditEmbeddedRequest signatureRequestEditEmbeddedRequest) throws ApiException {
return signatureRequestEditEmbeddedWithHttpInfo(signatureRequestId, signatureRequestEditEmbeddedRequest).getData();
}
@@ -502,7 +502,7 @@ public SignatureRequestGetResponse signatureRequestEditEmbedded(String signature
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestEditEmbeddedWithHttpInfo(String signatureRequestId, SignatureRequestEditEmbeddedRequest signatureRequestEditEmbeddedRequest) throws ApiException {
+ public ApiResponse signatureRequestEditEmbeddedWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nonnull SignatureRequestEditEmbeddedRequest signatureRequestEditEmbeddedRequest) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -555,7 +555,7 @@ public ApiResponse signatureRequestEditEmbeddedWith
| 4XX | failed_operation | - |
*/
- public SignatureRequestGetResponse signatureRequestEditEmbeddedWithTemplate(String signatureRequestId, SignatureRequestEditEmbeddedWithTemplateRequest signatureRequestEditEmbeddedWithTemplateRequest) throws ApiException {
+ public SignatureRequestGetResponse signatureRequestEditEmbeddedWithTemplate(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nonnull SignatureRequestEditEmbeddedWithTemplateRequest signatureRequestEditEmbeddedWithTemplateRequest) throws ApiException {
return signatureRequestEditEmbeddedWithTemplateWithHttpInfo(signatureRequestId, signatureRequestEditEmbeddedWithTemplateRequest).getData();
}
@@ -576,7 +576,7 @@ public SignatureRequestGetResponse signatureRequestEditEmbeddedWithTemplate(Stri
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestEditEmbeddedWithTemplateWithHttpInfo(String signatureRequestId, SignatureRequestEditEmbeddedWithTemplateRequest signatureRequestEditEmbeddedWithTemplateRequest) throws ApiException {
+ public ApiResponse signatureRequestEditEmbeddedWithTemplateWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nonnull SignatureRequestEditEmbeddedWithTemplateRequest signatureRequestEditEmbeddedWithTemplateRequest) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -629,7 +629,7 @@ public ApiResponse signatureRequestEditEmbeddedWith
| 4XX | failed_operation | - |
*/
- public SignatureRequestGetResponse signatureRequestEditWithTemplate(String signatureRequestId, SignatureRequestEditWithTemplateRequest signatureRequestEditWithTemplateRequest) throws ApiException {
+ public SignatureRequestGetResponse signatureRequestEditWithTemplate(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nonnull SignatureRequestEditWithTemplateRequest signatureRequestEditWithTemplateRequest) throws ApiException {
return signatureRequestEditWithTemplateWithHttpInfo(signatureRequestId, signatureRequestEditWithTemplateRequest).getData();
}
@@ -650,7 +650,7 @@ public SignatureRequestGetResponse signatureRequestEditWithTemplate(String signa
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestEditWithTemplateWithHttpInfo(String signatureRequestId, SignatureRequestEditWithTemplateRequest signatureRequestEditWithTemplateRequest) throws ApiException {
+ public ApiResponse signatureRequestEditWithTemplateWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nonnull SignatureRequestEditWithTemplateRequest signatureRequestEditWithTemplateRequest) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -703,7 +703,7 @@ public ApiResponse signatureRequestEditWithTemplate
| 4XX | failed_operation | - |
*/
- public File signatureRequestFiles(String signatureRequestId, String fileType) throws ApiException {
+ public File signatureRequestFiles(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nullable String fileType) throws ApiException {
return signatureRequestFilesWithHttpInfo(signatureRequestId, fileType).getData();
}
@@ -743,7 +743,7 @@ public ApiResponse signatureRequestFilesWithHttpInfo(String signatureReque
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestFilesWithHttpInfo(String signatureRequestId, String fileType) throws ApiException {
+ public ApiResponse signatureRequestFilesWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nullable String fileType) throws ApiException {
if (fileType == null) {
fileType = "pdf";
@@ -800,7 +800,7 @@ public ApiResponse signatureRequestFilesWithHttpInfo(String signatureReque
| 4XX | failed_operation | - |
*/
- public FileResponseDataUri signatureRequestFilesAsDataUri(String signatureRequestId) throws ApiException {
+ public FileResponseDataUri signatureRequestFilesAsDataUri(@jakarta.annotation.Nonnull String signatureRequestId) throws ApiException {
return signatureRequestFilesAsDataUriWithHttpInfo(signatureRequestId).getData();
}
@@ -820,7 +820,7 @@ public FileResponseDataUri signatureRequestFilesAsDataUri(String signatureReques
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestFilesAsDataUriWithHttpInfo(String signatureRequestId) throws ApiException {
+ public ApiResponse signatureRequestFilesAsDataUriWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -870,7 +870,7 @@ public ApiResponse signatureRequestFilesAsDataUriWithHttpIn
| 4XX | failed_operation | - |
*/
- public FileResponse signatureRequestFilesAsFileUrl(String signatureRequestId, Integer forceDownload) throws ApiException {
+ public FileResponse signatureRequestFilesAsFileUrl(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nullable Integer forceDownload) throws ApiException {
return signatureRequestFilesAsFileUrlWithHttpInfo(signatureRequestId, forceDownload).getData();
}
@@ -910,7 +910,7 @@ public ApiResponse signatureRequestFilesAsFileUrlWithHttpInfo(Stri
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestFilesAsFileUrlWithHttpInfo(String signatureRequestId, Integer forceDownload) throws ApiException {
+ public ApiResponse signatureRequestFilesAsFileUrlWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nullable Integer forceDownload) throws ApiException {
if (forceDownload == null) {
forceDownload = 1;
@@ -967,7 +967,7 @@ public ApiResponse signatureRequestFilesAsFileUrlWithHttpInfo(Stri
| 4XX | failed_operation | - |
*/
- public SignatureRequestGetResponse signatureRequestGet(String signatureRequestId) throws ApiException {
+ public SignatureRequestGetResponse signatureRequestGet(@jakarta.annotation.Nonnull String signatureRequestId) throws ApiException {
return signatureRequestGetWithHttpInfo(signatureRequestId).getData();
}
@@ -987,7 +987,7 @@ public SignatureRequestGetResponse signatureRequestGet(String signatureRequestId
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestGetWithHttpInfo(String signatureRequestId) throws ApiException {
+ public ApiResponse signatureRequestGetWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -1039,7 +1039,7 @@ public ApiResponse signatureRequestGetWithHttpInfo(
| 4XX | failed_operation | - |
*/
- public SignatureRequestListResponse signatureRequestList(String accountId, Integer page, Integer pageSize, String query) throws ApiException {
+ public SignatureRequestListResponse signatureRequestList(@jakarta.annotation.Nullable String accountId, @jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize, @jakarta.annotation.Nullable String query) throws ApiException {
return signatureRequestListWithHttpInfo(accountId, page, pageSize, query).getData();
}
@@ -1147,7 +1147,7 @@ public ApiResponse signatureRequestListWithHttpInf
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestListWithHttpInfo(String accountId, Integer page, Integer pageSize, String query) throws ApiException {
+ public ApiResponse signatureRequestListWithHttpInfo(@jakarta.annotation.Nullable String accountId, @jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize, @jakarta.annotation.Nullable String query) throws ApiException {
if (page == null) {
page = 1;
@@ -1201,7 +1201,7 @@ public ApiResponse signatureRequestListWithHttpInf
| 4XX | failed_operation | - |
*/
- public SignatureRequestGetResponse signatureRequestReleaseHold(String signatureRequestId) throws ApiException {
+ public SignatureRequestGetResponse signatureRequestReleaseHold(@jakarta.annotation.Nonnull String signatureRequestId) throws ApiException {
return signatureRequestReleaseHoldWithHttpInfo(signatureRequestId).getData();
}
@@ -1221,7 +1221,7 @@ public SignatureRequestGetResponse signatureRequestReleaseHold(String signatureR
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestReleaseHoldWithHttpInfo(String signatureRequestId) throws ApiException {
+ public ApiResponse signatureRequestReleaseHoldWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -1271,7 +1271,7 @@ public ApiResponse signatureRequestReleaseHoldWithH
| 4XX | failed_operation | - |
*/
- public SignatureRequestGetResponse signatureRequestRemind(String signatureRequestId, SignatureRequestRemindRequest signatureRequestRemindRequest) throws ApiException {
+ public SignatureRequestGetResponse signatureRequestRemind(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nonnull SignatureRequestRemindRequest signatureRequestRemindRequest) throws ApiException {
return signatureRequestRemindWithHttpInfo(signatureRequestId, signatureRequestRemindRequest).getData();
}
@@ -1292,7 +1292,7 @@ public SignatureRequestGetResponse signatureRequestRemind(String signatureReques
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestRemindWithHttpInfo(String signatureRequestId, SignatureRequestRemindRequest signatureRequestRemindRequest) throws ApiException {
+ public ApiResponse signatureRequestRemindWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nonnull SignatureRequestRemindRequest signatureRequestRemindRequest) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -1343,7 +1343,7 @@ public ApiResponse signatureRequestRemindWithHttpIn
| 4XX | failed_operation | - |
*/
- public void signatureRequestRemove(String signatureRequestId) throws ApiException {
+ public void signatureRequestRemove(@jakarta.annotation.Nonnull String signatureRequestId) throws ApiException {
signatureRequestRemoveWithHttpInfo(signatureRequestId);
}
@@ -1363,7 +1363,7 @@ public void signatureRequestRemove(String signatureRequestId) throws ApiExceptio
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestRemoveWithHttpInfo(String signatureRequestId) throws ApiException {
+ public ApiResponse signatureRequestRemoveWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -1411,7 +1411,7 @@ public ApiResponse signatureRequestRemoveWithHttpInfo(String signatureRequ
| 4XX | failed_operation | - |
*/
- public SignatureRequestGetResponse signatureRequestSend(SignatureRequestSendRequest signatureRequestSendRequest) throws ApiException {
+ public SignatureRequestGetResponse signatureRequestSend(@jakarta.annotation.Nonnull SignatureRequestSendRequest signatureRequestSendRequest) throws ApiException {
return signatureRequestSendWithHttpInfo(signatureRequestSendRequest).getData();
}
@@ -1431,7 +1431,7 @@ public SignatureRequestGetResponse signatureRequestSend(SignatureRequestSendRequ
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestSendWithHttpInfo(SignatureRequestSendRequest signatureRequestSendRequest) throws ApiException {
+ public ApiResponse signatureRequestSendWithHttpInfo(@jakarta.annotation.Nonnull SignatureRequestSendRequest signatureRequestSendRequest) throws ApiException {
// Check required parameters
if (signatureRequestSendRequest == null) {
@@ -1476,7 +1476,7 @@ public ApiResponse signatureRequestSendWithHttpInfo
| 4XX | failed_operation | - |
*/
- public SignatureRequestGetResponse signatureRequestSendWithTemplate(SignatureRequestSendWithTemplateRequest signatureRequestSendWithTemplateRequest) throws ApiException {
+ public SignatureRequestGetResponse signatureRequestSendWithTemplate(@jakarta.annotation.Nonnull SignatureRequestSendWithTemplateRequest signatureRequestSendWithTemplateRequest) throws ApiException {
return signatureRequestSendWithTemplateWithHttpInfo(signatureRequestSendWithTemplateRequest).getData();
}
@@ -1496,7 +1496,7 @@ public SignatureRequestGetResponse signatureRequestSendWithTemplate(SignatureReq
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestSendWithTemplateWithHttpInfo(SignatureRequestSendWithTemplateRequest signatureRequestSendWithTemplateRequest) throws ApiException {
+ public ApiResponse signatureRequestSendWithTemplateWithHttpInfo(@jakarta.annotation.Nonnull SignatureRequestSendWithTemplateRequest signatureRequestSendWithTemplateRequest) throws ApiException {
// Check required parameters
if (signatureRequestSendWithTemplateRequest == null) {
@@ -1542,7 +1542,7 @@ public ApiResponse signatureRequestSendWithTemplate
| 4XX | failed_operation | - |
*/
- public SignatureRequestGetResponse signatureRequestUpdate(String signatureRequestId, SignatureRequestUpdateRequest signatureRequestUpdateRequest) throws ApiException {
+ public SignatureRequestGetResponse signatureRequestUpdate(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nonnull SignatureRequestUpdateRequest signatureRequestUpdateRequest) throws ApiException {
return signatureRequestUpdateWithHttpInfo(signatureRequestId, signatureRequestUpdateRequest).getData();
}
@@ -1563,7 +1563,7 @@ public SignatureRequestGetResponse signatureRequestUpdate(String signatureReques
| 4XX | failed_operation | - |
*/
- public ApiResponse signatureRequestUpdateWithHttpInfo(String signatureRequestId, SignatureRequestUpdateRequest signatureRequestUpdateRequest) throws ApiException {
+ public ApiResponse signatureRequestUpdateWithHttpInfo(@jakarta.annotation.Nonnull String signatureRequestId, @jakarta.annotation.Nonnull SignatureRequestUpdateRequest signatureRequestUpdateRequest) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
diff --git a/src/main/java/com/dropbox/sign/api/TeamApi.java b/src/main/java/com/dropbox/sign/api/TeamApi.java
index a2d67bc4..44c2147f 100644
--- a/src/main/java/com/dropbox/sign/api/TeamApi.java
+++ b/src/main/java/com/dropbox/sign/api/TeamApi.java
@@ -25,7 +25,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class TeamApi {
private ApiClient apiClient;
@@ -71,7 +71,7 @@ public void setApiClient(ApiClient apiClient) {
| 4XX | failed_operation | - |
*/
- public TeamGetResponse teamAddMember(TeamAddMemberRequest teamAddMemberRequest, String teamId) throws ApiException {
+ public TeamGetResponse teamAddMember(@jakarta.annotation.Nonnull TeamAddMemberRequest teamAddMemberRequest, @jakarta.annotation.Nullable String teamId) throws ApiException {
return teamAddMemberWithHttpInfo(teamAddMemberRequest, teamId).getData();
}
@@ -111,7 +111,7 @@ public ApiResponse teamAddMemberWithHttpInfo(TeamAddMemberReque
| 4XX | failed_operation | - |
*/
- public ApiResponse teamAddMemberWithHttpInfo(TeamAddMemberRequest teamAddMemberRequest, String teamId) throws ApiException {
+ public ApiResponse teamAddMemberWithHttpInfo(@jakarta.annotation.Nonnull TeamAddMemberRequest teamAddMemberRequest, @jakarta.annotation.Nullable String teamId) throws ApiException {
// Check required parameters
if (teamAddMemberRequest == null) {
@@ -161,7 +161,7 @@ public ApiResponse teamAddMemberWithHttpInfo(TeamAddMemberReque
| 4XX | failed_operation | - |
*/
- public TeamGetResponse teamCreate(TeamCreateRequest teamCreateRequest) throws ApiException {
+ public TeamGetResponse teamCreate(@jakarta.annotation.Nonnull TeamCreateRequest teamCreateRequest) throws ApiException {
return teamCreateWithHttpInfo(teamCreateRequest).getData();
}
@@ -181,7 +181,7 @@ public TeamGetResponse teamCreate(TeamCreateRequest teamCreateRequest) throws Ap
| 4XX | failed_operation | - |
*/
- public ApiResponse teamCreateWithHttpInfo(TeamCreateRequest teamCreateRequest) throws ApiException {
+ public ApiResponse teamCreateWithHttpInfo(@jakarta.annotation.Nonnull TeamCreateRequest teamCreateRequest) throws ApiException {
// Check required parameters
if (teamCreateRequest == null) {
@@ -340,7 +340,7 @@ public ApiResponse teamGetWithHttpInfo() throws ApiException {
| 4XX | failed_operation | - |
*/
- public TeamGetInfoResponse teamInfo(String teamId) throws ApiException {
+ public TeamGetInfoResponse teamInfo(@jakarta.annotation.Nullable String teamId) throws ApiException {
return teamInfoWithHttpInfo(teamId).getData();
}
@@ -379,7 +379,7 @@ public ApiResponse teamInfoWithHttpInfo() throws ApiExcepti
| 4XX | failed_operation | - |
*/
- public ApiResponse teamInfoWithHttpInfo(String teamId) throws ApiException {
+ public ApiResponse teamInfoWithHttpInfo(@jakarta.annotation.Nullable String teamId) throws ApiException {
// Query parameters
List localVarQueryParams = new ArrayList<>(
@@ -424,7 +424,7 @@ public ApiResponse teamInfoWithHttpInfo(String teamId) thro
| 4XX | failed_operation | - |
*/
- public TeamInvitesResponse teamInvites(String emailAddress) throws ApiException {
+ public TeamInvitesResponse teamInvites(@jakarta.annotation.Nullable String emailAddress) throws ApiException {
return teamInvitesWithHttpInfo(emailAddress).getData();
}
@@ -463,7 +463,7 @@ public ApiResponse teamInvitesWithHttpInfo() throws ApiExce
| 4XX | failed_operation | - |
*/
- public ApiResponse teamInvitesWithHttpInfo(String emailAddress) throws ApiException {
+ public ApiResponse teamInvitesWithHttpInfo(@jakarta.annotation.Nullable String emailAddress) throws ApiException {
// Query parameters
List localVarQueryParams = new ArrayList<>(
@@ -510,7 +510,7 @@ public ApiResponse teamInvitesWithHttpInfo(String emailAddr
| 4XX | failed_operation | - |
*/
- public TeamMembersResponse teamMembers(String teamId, Integer page, Integer pageSize) throws ApiException {
+ public TeamMembersResponse teamMembers(@jakarta.annotation.Nonnull String teamId, @jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize) throws ApiException {
return teamMembersWithHttpInfo(teamId, page, pageSize).getData();
}
@@ -571,7 +571,7 @@ public ApiResponse teamMembersWithHttpInfo(String teamId, I
| 4XX | failed_operation | - |
*/
- public ApiResponse teamMembersWithHttpInfo(String teamId, Integer page, Integer pageSize) throws ApiException {
+ public ApiResponse teamMembersWithHttpInfo(@jakarta.annotation.Nonnull String teamId, @jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize) throws ApiException {
if (page == null) {
page = 1;
@@ -632,7 +632,7 @@ public ApiResponse teamMembersWithHttpInfo(String teamId, I
| 4XX | failed_operation | - |
*/
- public TeamGetResponse teamRemoveMember(TeamRemoveMemberRequest teamRemoveMemberRequest) throws ApiException {
+ public TeamGetResponse teamRemoveMember(@jakarta.annotation.Nonnull TeamRemoveMemberRequest teamRemoveMemberRequest) throws ApiException {
return teamRemoveMemberWithHttpInfo(teamRemoveMemberRequest).getData();
}
@@ -652,7 +652,7 @@ public TeamGetResponse teamRemoveMember(TeamRemoveMemberRequest teamRemoveMember
| 4XX | failed_operation | - |
*/
- public ApiResponse teamRemoveMemberWithHttpInfo(TeamRemoveMemberRequest teamRemoveMemberRequest) throws ApiException {
+ public ApiResponse teamRemoveMemberWithHttpInfo(@jakarta.annotation.Nonnull TeamRemoveMemberRequest teamRemoveMemberRequest) throws ApiException {
// Check required parameters
if (teamRemoveMemberRequest == null) {
@@ -699,7 +699,7 @@ public ApiResponse teamRemoveMemberWithHttpInfo(TeamRemoveMembe
| 4XX | failed_operation | - |
*/
- public TeamSubTeamsResponse teamSubTeams(String teamId, Integer page, Integer pageSize) throws ApiException {
+ public TeamSubTeamsResponse teamSubTeams(@jakarta.annotation.Nonnull String teamId, @jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize) throws ApiException {
return teamSubTeamsWithHttpInfo(teamId, page, pageSize).getData();
}
@@ -760,7 +760,7 @@ public ApiResponse teamSubTeamsWithHttpInfo(String teamId,
| 4XX | failed_operation | - |
*/
- public ApiResponse teamSubTeamsWithHttpInfo(String teamId, Integer page, Integer pageSize) throws ApiException {
+ public ApiResponse teamSubTeamsWithHttpInfo(@jakarta.annotation.Nonnull String teamId, @jakarta.annotation.Nullable Integer page, @jakarta.annotation.Nullable Integer pageSize) throws ApiException {
if (page == null) {
page = 1;
@@ -821,7 +821,7 @@ public ApiResponse teamSubTeamsWithHttpInfo(String teamId,
| 4XX | failed_operation | - |
*/
- public TeamGetResponse teamUpdate(TeamUpdateRequest teamUpdateRequest) throws ApiException {
+ public TeamGetResponse teamUpdate(@jakarta.annotation.Nonnull TeamUpdateRequest teamUpdateRequest) throws ApiException {
return teamUpdateWithHttpInfo(teamUpdateRequest).getData();
}
@@ -841,7 +841,7 @@ public TeamGetResponse teamUpdate(TeamUpdateRequest teamUpdateRequest) throws Ap
| 4XX | failed_operation | - |
*/
- public ApiResponse teamUpdateWithHttpInfo(TeamUpdateRequest teamUpdateRequest) throws ApiException {
+ public ApiResponse teamUpdateWithHttpInfo(@jakarta.annotation.Nonnull TeamUpdateRequest teamUpdateRequest) throws ApiException {
// Check required parameters
if (teamUpdateRequest == null) {
diff --git a/src/main/java/com/dropbox/sign/api/TemplateApi.java b/src/main/java/com/dropbox/sign/api/TemplateApi.java
index b26de1c3..2642b475 100644
--- a/src/main/java/com/dropbox/sign/api/TemplateApi.java
+++ b/src/main/java/com/dropbox/sign/api/TemplateApi.java
@@ -29,7 +29,7 @@
import java.util.List;
import java.util.Map;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.26.0")
public class TemplateApi {
private ApiClient apiClient;
@@ -75,7 +75,7 @@ public void setApiClient(ApiClient apiClient) {
| 4XX | failed_operation | - |
*/
- public TemplateGetResponse templateAddUser(String templateId, TemplateAddUserRequest templateAddUserRequest) throws ApiException {
+ public TemplateGetResponse templateAddUser(@jakarta.annotation.Nonnull String templateId, @jakarta.annotation.Nonnull TemplateAddUserRequest templateAddUserRequest) throws ApiException {
return templateAddUserWithHttpInfo(templateId, templateAddUserRequest).getData();
}
@@ -96,7 +96,7 @@ public TemplateGetResponse templateAddUser(String templateId, TemplateAddUserReq
| 4XX | failed_operation | - |
*/
- public ApiResponse templateAddUserWithHttpInfo(String templateId, TemplateAddUserRequest templateAddUserRequest) throws ApiException {
+ public ApiResponse templateAddUserWithHttpInfo(@jakarta.annotation.Nonnull String templateId, @jakarta.annotation.Nonnull TemplateAddUserRequest templateAddUserRequest) throws ApiException {
// Check required parameters
if (templateId == null) {
@@ -148,7 +148,7 @@ public ApiResponse templateAddUserWithHttpInfo(String templ
| 4XX | failed_operation | - |
*/
- public TemplateCreateResponse templateCreate(TemplateCreateRequest templateCreateRequest) throws ApiException {
+ public TemplateCreateResponse templateCreate(@jakarta.annotation.Nonnull TemplateCreateRequest templateCreateRequest) throws ApiException {
return templateCreateWithHttpInfo(templateCreateRequest).getData();
}
@@ -168,7 +168,7 @@ public TemplateCreateResponse templateCreate(TemplateCreateRequest templateCreat
| 4XX | failed_operation | - |
*/
- public ApiResponse templateCreateWithHttpInfo(TemplateCreateRequest templateCreateRequest) throws ApiException {
+ public ApiResponse templateCreateWithHttpInfo(@jakarta.annotation.Nonnull TemplateCreateRequest templateCreateRequest) throws ApiException {
// Check required parameters
if (templateCreateRequest == null) {
@@ -213,7 +213,7 @@ public ApiResponse templateCreateWithHttpInfo(TemplateCr
| 4XX | failed_operation | - |
*/
- public TemplateCreateEmbeddedDraftResponse templateCreateEmbeddedDraft(TemplateCreateEmbeddedDraftRequest templateCreateEmbeddedDraftRequest) throws ApiException {
+ public TemplateCreateEmbeddedDraftResponse templateCreateEmbeddedDraft(@jakarta.annotation.Nonnull TemplateCreateEmbeddedDraftRequest templateCreateEmbeddedDraftRequest) throws ApiException {
return templateCreateEmbeddedDraftWithHttpInfo(templateCreateEmbeddedDraftRequest).getData();
}
@@ -233,7 +233,7 @@ public TemplateCreateEmbeddedDraftResponse templateCreateEmbeddedDraft(TemplateC
| 4XX | failed_operation | - |
*/
- public ApiResponse templateCreateEmbeddedDraftWithHttpInfo(TemplateCreateEmbeddedDraftRequest templateCreateEmbeddedDraftRequest) throws ApiException {
+ public ApiResponse templateCreateEmbeddedDraftWithHttpInfo(@jakarta.annotation.Nonnull TemplateCreateEmbeddedDraftRequest templateCreateEmbeddedDraftRequest) throws ApiException {
// Check required parameters
if (templateCreateEmbeddedDraftRequest == null) {
@@ -277,7 +277,7 @@ public ApiResponse templateCreateEmbeddedDr
| 4XX | failed_operation | - |
*/
- public void templateDelete(String templateId) throws ApiException {
+ public void templateDelete(@jakarta.annotation.Nonnull String templateId) throws ApiException {
templateDeleteWithHttpInfo(templateId);
}
@@ -297,7 +297,7 @@ public void templateDelete(String templateId) throws ApiException {
| 4XX | failed_operation | - |
*/
- public ApiResponse templateDeleteWithHttpInfo(String templateId) throws ApiException {
+ public ApiResponse templateDeleteWithHttpInfo(@jakarta.annotation.Nonnull String templateId) throws ApiException {
// Check required parameters
if (templateId == null) {
@@ -346,7 +346,7 @@ public ApiResponse templateDeleteWithHttpInfo(String templateId) throws Ap
| 4XX | failed_operation | - |
*/
- public File templateFiles(String templateId, String fileType) throws ApiException {
+ public File templateFiles(@jakarta.annotation.Nonnull String templateId, @jakarta.annotation.Nullable String fileType) throws ApiException {
return templateFilesWithHttpInfo(templateId, fileType).getData();
}
@@ -386,7 +386,7 @@ public ApiResponse templateFilesWithHttpInfo(String templateId) throws Api
|