diff --git a/sdks/java-v1/build.gradle b/sdks/java-v1/build.gradle
index f4d6098ee..968defe62 100644
--- a/sdks/java-v1/build.gradle
+++ b/sdks/java-v1/build.gradle
@@ -22,6 +22,16 @@ repositories {
mavenCentral()
}
+ext {
+ jackson_version = "2.21.6"
+ jackson_annotations_version = "2.21"
+ jackson_databind_version = "2.21.6"
+ jakarta_annotation_version = "1.3.5"
+ jersey_version = "2.35"
+ junit_version = "5.8.2"
+ mockito_version = "3.12.4"
+}
+
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
@@ -57,18 +67,7 @@ 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 = "1.3.5"
- jersey_version = "2.35"
- junit_version = "5.8.2"
- mockito_version = "3.12.4"
-}
-
dependencies {
- implementation "io.swagger:swagger-annotations:$swagger_annotations_version"
implementation 'commons-codec:commons-codec:1.15'
implementation "com.google.code.findbugs:jsr305:3.0.2"
implementation "org.glassfish.jersey.core:jersey-client:$jersey_version"
@@ -77,7 +76,7 @@ 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"
diff --git a/sdks/java-v1/build.sbt b/sdks/java-v1/build.sbt
index 214c47d8c..455d00cf5 100644
--- a/sdks/java-v1/build.sbt
+++ b/sdks/java-v1/build.sbt
@@ -3,7 +3,7 @@ lazy val root = (project in file(".")).
organization := "com.dropbox.sign",
name := "dropbox-sign",
version := "1.11-dev",
- scalaVersion := "2.11.4",
+ 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" % "2.35",
"org.glassfish.jersey.media" % "jersey-media-json-jackson" % "2.35",
"org.glassfish.jersey.connectors" % "jersey-apache-connector" % "2.35",
- "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.6" % "compile",
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
"org.junit.jupiter" % "junit-jupiter-api" % "5.8.2" % "test"
)
diff --git a/sdks/java-v1/gradle/wrapper/gradle-wrapper.properties b/sdks/java-v1/gradle/wrapper/gradle-wrapper.properties
index b82aa23a4..4f5eb9dcc 100644
--- a/sdks/java-v1/gradle/wrapper/gradle-wrapper.properties
+++ b/sdks/java-v1/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/sdks/java-v1/pom.xml b/sdks/java-v1/pom.xml
index b499f09a3..001cfcb7b 100644
--- a/sdks/java-v1/pom.xml
+++ b/sdks/java-v1/pom.xml
@@ -311,7 +311,7 @@
com.fasterxml.jackson.core
jackson-annotations
- ${jackson-version}
+ ${jackson-annotations-version}
com.fasterxml.jackson.core
@@ -352,12 +352,13 @@
UTF-8
2.37
- 2.17.1
- 2.17.1
- 0.2.6
+ 2.21.6
+ 2.21
+ 2.21.6
+ 0.2.12
1.3.5
2.0.2
- 5.10.0
+ 5.14.4
2.21.0
3.12.4
diff --git a/sdks/java-v1/run-build b/sdks/java-v1/run-build
index 2262ad532..ef6c88907 100755
--- a/sdks/java-v1/run-build
+++ b/sdks/java-v1/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/sdks/java-v1/src/main/java/com/dropbox/sign/ApiClient.java b/sdks/java-v1/src/main/java/com/dropbox/sign/ApiClient.java
index 671efa962..0bcbbd1bb 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/ApiClient.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/ApiClient.java
@@ -71,16 +71,16 @@
/** ApiClient class. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class ApiClient extends JavaTimeFormatter {
- private static final Pattern JSON_MIME_PATTERN =
+ 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<>(
@@ -119,7 +119,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;
@@ -287,7 +287,7 @@ public ApiClient setServerVariables(Map serverVariables) {
return this;
}
- private void updateBasePath() {
+ protected void updateBasePath() {
if (serverIndex != null) {
setBasePath(servers.get(serverIndex).URL(serverVariables));
}
@@ -463,6 +463,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;
@@ -734,6 +735,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).
@@ -814,7 +850,7 @@ public Entity> serialize(
* @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 =
@@ -1021,9 +1057,11 @@ public ApiResponse invokeAPI(
if (index < 0 || index >= serverConfigurations.size()) {
throw new ArrayIndexOutOfBoundsException(
String.format(
+ java.util.Locale.ROOT,
"Invalid index %d when selecting the host settings. Must be less"
+ " than %d",
- index, serverConfigurations.size()));
+ index,
+ serverConfigurations.size()));
}
targetURL = serverConfigurations.get(index).URL(variables) + path;
} else {
@@ -1033,6 +1071,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) {
@@ -1065,22 +1119,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) {
@@ -1142,7 +1180,7 @@ public ApiResponse invokeAPI(
}
}
- private Response sendRequest(
+ protected Response sendRequest(
String method, Invocation.Builder invocationBuilder, Entity> entity) {
Response response;
if ("POST".equals(method)) {
@@ -1203,8 +1241,10 @@ public ApiResponse invokeAPI(
* @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);
@@ -1225,6 +1265,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(
@@ -1242,8 +1287,6 @@ public ClientConfig getDefaultClientConfig() {
java.util.logging.Logger.getLogger("org.glassfish.jersey.client")
.setLevel(java.util.logging.Level.SEVERE);
}
-
- return clientConfig;
}
/**
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/ApiException.java b/sdks/java-v1/src/main/java/com/dropbox/sign/ApiException.java
index 27476dab3..0da62b8be 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/ApiException.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/ApiException.java
@@ -19,7 +19,7 @@
/** API Exception */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class ApiException extends Exception {
private static final long serialVersionUID = 1L;
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/Configuration.java b/sdks/java-v1/src/main/java/com/dropbox/sign/Configuration.java
index 654d69f1d..b6af420ab 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/Configuration.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/Configuration.java
@@ -12,13 +12,18 @@
package com.dropbox.sign;
+import java.util.Objects;
+import java.util.concurrent.atomic.AtomicReference;
+import java.util.function.Supplier;
+
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class Configuration {
public static final String VERSION = "1.11-dev";
- private static volatile ApiClient defaultApiClient = new ApiClient();
+ private static final AtomicReference defaultApiClient = new AtomicReference<>();
+ private static volatile Supplier apiClientFactory = ApiClient::new;
/**
* Get the default API client, which would be used when creating API instances without providing
@@ -27,7 +32,18 @@ public class Configuration {
* @return Default API client
*/
public static ApiClient getDefaultApiClient() {
- return defaultApiClient;
+ 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;
}
/**
@@ -37,6 +53,13 @@ public static ApiClient getDefaultApiClient() {
* @param apiClient API client
*/
public static void setDefaultApiClient(ApiClient apiClient) {
- defaultApiClient = 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() {}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/EventCallbackHelper.java b/sdks/java-v1/src/main/java/com/dropbox/sign/EventCallbackHelper.java
index 8d65b8708..e89c6cc09 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/EventCallbackHelper.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/EventCallbackHelper.java
@@ -19,7 +19,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class EventCallbackHelper {
public static final String EVENT_TYPE_ACCOUNT_CALLBACK = "account_callback";
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/JSON.java b/sdks/java-v1/src/main/java/com/dropbox/sign/JSON.java
index cd4a199ef..37ed507d5 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/JSON.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/JSON.java
@@ -26,7 +26,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class JSON implements ContextResolver {
private ObjectMapper mapper;
@@ -42,6 +42,7 @@ public JSON() {
.enable(DeserializationFeature.READ_ENUMS_USING_TO_STRING)
.defaultDateFormat(new RFC3339DateFormat())
.addModule(new JavaTimeModule())
+ .addModule(new RFC3339JavaTimeModule())
.build();
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/JavaTimeFormatter.java b/sdks/java-v1/src/main/java/com/dropbox/sign/JavaTimeFormatter.java
index 806b9b146..b37f55330 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/JavaTimeFormatter.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/JavaTimeFormatter.java
@@ -23,9 +23,8 @@
*/
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class JavaTimeFormatter {
-
private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME;
/**
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/Pair.java b/sdks/java-v1/src/main/java/com/dropbox/sign/Pair.java
index 0f3d10c47..e098ec714 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/Pair.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/Pair.java
@@ -14,30 +14,14 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ 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);
- }
-
- private void setName(String name) {
- if (!isValidString(name)) {
- return;
- }
-
- this.name = name;
- }
-
- private void setValue(String value) {
- if (!isValidString(value)) {
- return;
- }
-
- this.value = value;
+ this.name = isValidString(name) ? name : "";
+ this.value = isValidString(value) ? value : "";
}
public String getName() {
@@ -48,11 +32,7 @@ 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/sdks/java-v1/src/main/java/com/dropbox/sign/RFC3339DateFormat.java b/sdks/java-v1/src/main/java/com/dropbox/sign/RFC3339DateFormat.java
index 3334a5843..8b0630f1e 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/RFC3339DateFormat.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/RFC3339DateFormat.java
@@ -23,7 +23,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ 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/sdks/java-v1/src/main/java/com/dropbox/sign/RFC3339InstantDeserializer.java b/sdks/java-v1/src/main/java/com/dropbox/sign/RFC3339InstantDeserializer.java
new file mode 100644
index 000000000..5f03352c7
--- /dev/null
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/RFC3339InstantDeserializer.java
@@ -0,0 +1,111 @@
+/*
+ * 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 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;
+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;
+
+@javax.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 static final boolean DEFAULT_NORMALIZE_ZONE_ID =
+ JavaTimeFeature.NORMALIZE_DESERIALIZED_ZONE_ID.enabledByDefault();
+ private static final 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'));
+ }
+}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/RFC3339JavaTimeModule.java b/sdks/java-v1/src/main/java/com/dropbox/sign/RFC3339JavaTimeModule.java
new file mode 100644
index 000000000..d6010499c
--- /dev/null
+++ b/sdks/java-v1/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 com.fasterxml.jackson.databind.Module.SetupContext;
+import com.fasterxml.jackson.databind.module.SimpleModule;
+import java.time.Instant;
+import java.time.OffsetDateTime;
+import java.time.ZonedDateTime;
+
+@javax.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/sdks/java-v1/src/main/java/com/dropbox/sign/ServerConfiguration.java b/sdks/java-v1/src/main/java/com/dropbox/sign/ServerConfiguration.java
index 8d3d8b18c..2f68bf544 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/ServerConfiguration.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/ServerConfiguration.java
@@ -17,7 +17,7 @@
/** Representing a Server configuration. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class ServerConfiguration {
public String URL;
public String description;
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/ServerVariable.java b/sdks/java-v1/src/main/java/com/dropbox/sign/ServerVariable.java
index 4af52f41e..e9a4cc3ba 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/ServerVariable.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/ServerVariable.java
@@ -17,7 +17,7 @@
/** Representing a Server Variable for server URL template substitution. */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class ServerVariable {
public String description;
public String defaultValue;
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/StringUtil.java b/sdks/java-v1/src/main/java/com/dropbox/sign/StringUtil.java
index bcc8a0371..ae5cfc047 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/StringUtil.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/StringUtil.java
@@ -17,7 +17,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ 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/sdks/java-v1/src/main/java/com/dropbox/sign/api/AccountApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/AccountApi.java
index 836bd4bf4..fa756a5e2 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/AccountApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/AccountApi.java
@@ -20,7 +20,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class AccountApi {
private ApiClient apiClient;
@@ -65,7 +65,8 @@ public void setApiClient(ApiClient apiClient) {
* | 4XX | failed_operation | - |
*
*/
- public AccountCreateResponse accountCreate(AccountCreateRequest accountCreateRequest)
+ public AccountCreateResponse accountCreate(
+ @javax.annotation.Nonnull AccountCreateRequest accountCreateRequest)
throws ApiException {
return accountCreateWithHttpInfo(accountCreateRequest).getData();
}
@@ -86,7 +87,8 @@ public AccountCreateResponse accountCreate(AccountCreateRequest accountCreateReq
*
*/
public ApiResponse accountCreateWithHttpInfo(
- AccountCreateRequest accountCreateRequest) throws ApiException {
+ @javax.annotation.Nonnull AccountCreateRequest accountCreateRequest)
+ throws ApiException {
// Check required parameters
if (accountCreateRequest == null) {
@@ -140,7 +142,9 @@ public ApiResponse accountCreateWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public AccountGetResponse accountGet(String accountId, String emailAddress)
+ public AccountGetResponse accountGet(
+ @javax.annotation.Nullable String accountId,
+ @javax.annotation.Nullable String emailAddress)
throws ApiException {
return accountGetWithHttpInfo(accountId, emailAddress).getData();
}
@@ -202,7 +206,9 @@ public ApiResponse accountGetWithHttpInfo(String accountId)
*
*/
public ApiResponse accountGetWithHttpInfo(
- String accountId, String emailAddress) throws ApiException {
+ @javax.annotation.Nullable String accountId,
+ @javax.annotation.Nullable String emailAddress)
+ throws ApiException {
// Query parameters
List localVarQueryParams =
@@ -249,7 +255,8 @@ public ApiResponse accountGetWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public AccountGetResponse accountUpdate(AccountUpdateRequest accountUpdateRequest)
+ public AccountGetResponse accountUpdate(
+ @javax.annotation.Nonnull AccountUpdateRequest accountUpdateRequest)
throws ApiException {
return accountUpdateWithHttpInfo(accountUpdateRequest).getData();
}
@@ -270,7 +277,8 @@ public AccountGetResponse accountUpdate(AccountUpdateRequest accountUpdateReques
*
*/
public ApiResponse accountUpdateWithHttpInfo(
- AccountUpdateRequest accountUpdateRequest) throws ApiException {
+ @javax.annotation.Nonnull AccountUpdateRequest accountUpdateRequest)
+ throws ApiException {
// Check required parameters
if (accountUpdateRequest == null) {
@@ -321,7 +329,8 @@ public ApiResponse accountUpdateWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public AccountVerifyResponse accountVerify(AccountVerifyRequest accountVerifyRequest)
+ public AccountVerifyResponse accountVerify(
+ @javax.annotation.Nonnull AccountVerifyRequest accountVerifyRequest)
throws ApiException {
return accountVerifyWithHttpInfo(accountVerifyRequest).getData();
}
@@ -341,7 +350,8 @@ public AccountVerifyResponse accountVerify(AccountVerifyRequest accountVerifyReq
*
*/
public ApiResponse accountVerifyWithHttpInfo(
- AccountVerifyRequest accountVerifyRequest) throws ApiException {
+ @javax.annotation.Nonnull AccountVerifyRequest accountVerifyRequest)
+ throws ApiException {
// Check required parameters
if (accountVerifyRequest == null) {
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/api/ApiAppApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/ApiAppApi.java
index b74007e35..3319808e5 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/ApiAppApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/ApiAppApi.java
@@ -18,7 +18,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class ApiAppApi {
private ApiClient apiClient;
@@ -62,8 +62,8 @@ public void setApiClient(ApiClient apiClient) {
* | 4XX | failed_operation | - |
*
*/
- public ApiAppGetResponse apiAppCreate(ApiAppCreateRequest apiAppCreateRequest)
- throws ApiException {
+ public ApiAppGetResponse apiAppCreate(
+ @javax.annotation.Nonnull ApiAppCreateRequest apiAppCreateRequest) throws ApiException {
return apiAppCreateWithHttpInfo(apiAppCreateRequest).getData();
}
@@ -82,7 +82,7 @@ public ApiAppGetResponse apiAppCreate(ApiAppCreateRequest apiAppCreateRequest)
*
*/
public ApiResponse apiAppCreateWithHttpInfo(
- ApiAppCreateRequest apiAppCreateRequest) throws ApiException {
+ @javax.annotation.Nonnull ApiAppCreateRequest apiAppCreateRequest) throws ApiException {
// Check required parameters
if (apiAppCreateRequest == null) {
@@ -132,7 +132,7 @@ public ApiResponse apiAppCreateWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public void apiAppDelete(String clientId) throws ApiException {
+ public void apiAppDelete(@javax.annotation.Nonnull String clientId) throws ApiException {
apiAppDeleteWithHttpInfo(clientId);
}
@@ -150,7 +150,8 @@ public void apiAppDelete(String clientId) throws ApiException {
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse apiAppDeleteWithHttpInfo(String clientId) throws ApiException {
+ public ApiResponse apiAppDeleteWithHttpInfo(@javax.annotation.Nonnull String clientId)
+ throws ApiException {
// Check required parameters
if (clientId == null) {
@@ -200,7 +201,8 @@ public ApiResponse apiAppDeleteWithHttpInfo(String clientId) throws ApiExc
* | 4XX | failed_operation | - |
*
*/
- public ApiAppGetResponse apiAppGet(String clientId) throws ApiException {
+ public ApiAppGetResponse apiAppGet(@javax.annotation.Nonnull String clientId)
+ throws ApiException {
return apiAppGetWithHttpInfo(clientId).getData();
}
@@ -218,8 +220,8 @@ public ApiAppGetResponse apiAppGet(String clientId) throws ApiException {
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse apiAppGetWithHttpInfo(String clientId)
- throws ApiException {
+ public ApiResponse apiAppGetWithHttpInfo(
+ @javax.annotation.Nonnull String clientId) throws ApiException {
// Check required parameters
if (clientId == null) {
@@ -274,7 +276,9 @@ public ApiResponse apiAppGetWithHttpInfo(String clientId)
* | 4XX | failed_operation | - |
*
*/
- public ApiAppListResponse apiAppList(Integer page, Integer pageSize) throws ApiException {
+ public ApiAppListResponse apiAppList(
+ @javax.annotation.Nullable Integer page, @javax.annotation.Nullable Integer pageSize)
+ throws ApiException {
return apiAppListWithHttpInfo(page, pageSize).getData();
}
@@ -335,7 +339,8 @@ public ApiResponse apiAppListWithHttpInfo(Integer page)
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse apiAppListWithHttpInfo(Integer page, Integer pageSize)
+ public ApiResponse apiAppListWithHttpInfo(
+ @javax.annotation.Nullable Integer page, @javax.annotation.Nullable Integer pageSize)
throws ApiException {
if (page == null) {
@@ -391,7 +396,9 @@ public ApiResponse apiAppListWithHttpInfo(Integer page, Inte
* | 4XX | failed_operation | - |
*
*/
- public ApiAppGetResponse apiAppUpdate(String clientId, ApiAppUpdateRequest apiAppUpdateRequest)
+ public ApiAppGetResponse apiAppUpdate(
+ @javax.annotation.Nonnull String clientId,
+ @javax.annotation.Nonnull ApiAppUpdateRequest apiAppUpdateRequest)
throws ApiException {
return apiAppUpdateWithHttpInfo(clientId, apiAppUpdateRequest).getData();
}
@@ -414,7 +421,9 @@ public ApiAppGetResponse apiAppUpdate(String clientId, ApiAppUpdateRequest apiAp
*
*/
public ApiResponse apiAppUpdateWithHttpInfo(
- String clientId, ApiAppUpdateRequest apiAppUpdateRequest) throws ApiException {
+ @javax.annotation.Nonnull String clientId,
+ @javax.annotation.Nonnull ApiAppUpdateRequest apiAppUpdateRequest)
+ throws ApiException {
// Check required parameters
if (clientId == null) {
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/api/BulkSendJobApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/BulkSendJobApi.java
index f928d5c26..8461ed921 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/BulkSendJobApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/BulkSendJobApi.java
@@ -16,7 +16,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class BulkSendJobApi {
private ApiClient apiClient;
@@ -66,7 +66,10 @@ public void setApiClient(ApiClient apiClient) {
*
*/
public BulkSendJobGetResponse bulkSendJobGet(
- String bulkSendJobId, Integer page, Integer pageSize) throws ApiException {
+ @javax.annotation.Nonnull String bulkSendJobId,
+ @javax.annotation.Nullable Integer page,
+ @javax.annotation.Nullable Integer pageSize)
+ throws ApiException {
return bulkSendJobGetWithHttpInfo(bulkSendJobId, page, pageSize).getData();
}
@@ -131,7 +134,10 @@ public ApiResponse bulkSendJobGetWithHttpInfo(
*
*/
public ApiResponse bulkSendJobGetWithHttpInfo(
- String bulkSendJobId, Integer page, Integer pageSize) throws ApiException {
+ @javax.annotation.Nonnull String bulkSendJobId,
+ @javax.annotation.Nullable Integer page,
+ @javax.annotation.Nullable Integer pageSize)
+ throws ApiException {
if (page == null) {
page = 1;
@@ -200,7 +206,8 @@ public ApiResponse bulkSendJobGetWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public BulkSendJobListResponse bulkSendJobList(Integer page, Integer pageSize)
+ public BulkSendJobListResponse bulkSendJobList(
+ @javax.annotation.Nullable Integer page, @javax.annotation.Nullable Integer pageSize)
throws ApiException {
return bulkSendJobListWithHttpInfo(page, pageSize).getData();
}
@@ -262,7 +269,8 @@ public ApiResponse bulkSendJobListWithHttpInfo(Integer
*
*/
public ApiResponse bulkSendJobListWithHttpInfo(
- Integer page, Integer pageSize) throws ApiException {
+ @javax.annotation.Nullable Integer page, @javax.annotation.Nullable Integer pageSize)
+ throws ApiException {
if (page == null) {
page = 1;
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/api/DocumentApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/DocumentApi.java
index ccb577536..ee016d2fa 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/DocumentApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/DocumentApi.java
@@ -13,7 +13,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class DocumentApi {
private ApiClient apiClient;
@@ -59,7 +59,8 @@ public void setApiClient(ApiClient apiClient) {
*
*/
public DocumentFieldDetectionResponse documentDetectFields(
- DocumentFieldDetectionRequest documentFieldDetectionRequest) throws ApiException {
+ @javax.annotation.Nonnull DocumentFieldDetectionRequest documentFieldDetectionRequest)
+ throws ApiException {
return documentDetectFieldsWithHttpInfo(documentFieldDetectionRequest).getData();
}
@@ -79,7 +80,8 @@ public DocumentFieldDetectionResponse documentDetectFields(
*
*/
public ApiResponse documentDetectFieldsWithHttpInfo(
- DocumentFieldDetectionRequest documentFieldDetectionRequest) throws ApiException {
+ @javax.annotation.Nonnull DocumentFieldDetectionRequest documentFieldDetectionRequest)
+ throws ApiException {
// Check required parameters
if (documentFieldDetectionRequest == null) {
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/api/EmbeddedApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/EmbeddedApi.java
index e89671c3d..8131fe6ed 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/EmbeddedApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/EmbeddedApi.java
@@ -15,7 +15,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class EmbeddedApi {
private ApiClient apiClient;
@@ -63,7 +63,9 @@ public void setApiClient(ApiClient apiClient) {
*
*/
public EmbeddedEditUrlResponse embeddedEditUrl(
- String templateId, EmbeddedEditUrlRequest embeddedEditUrlRequest) throws ApiException {
+ @javax.annotation.Nonnull String templateId,
+ @javax.annotation.Nonnull EmbeddedEditUrlRequest embeddedEditUrlRequest)
+ throws ApiException {
return embeddedEditUrlWithHttpInfo(templateId, embeddedEditUrlRequest).getData();
}
@@ -85,7 +87,9 @@ public EmbeddedEditUrlResponse embeddedEditUrl(
*
*/
public ApiResponse embeddedEditUrlWithHttpInfo(
- String templateId, EmbeddedEditUrlRequest embeddedEditUrlRequest) throws ApiException {
+ @javax.annotation.Nonnull String templateId,
+ @javax.annotation.Nonnull EmbeddedEditUrlRequest embeddedEditUrlRequest)
+ throws ApiException {
// Check required parameters
if (templateId == null) {
@@ -149,7 +153,8 @@ public ApiResponse embeddedEditUrlWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public EmbeddedSignUrlResponse embeddedSignUrl(String signatureId) throws ApiException {
+ public EmbeddedSignUrlResponse embeddedSignUrl(@javax.annotation.Nonnull String signatureId)
+ throws ApiException {
return embeddedSignUrlWithHttpInfo(signatureId).getData();
}
@@ -169,8 +174,8 @@ public EmbeddedSignUrlResponse embeddedSignUrl(String signatureId) throws ApiExc
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse embeddedSignUrlWithHttpInfo(String signatureId)
- throws ApiException {
+ public ApiResponse embeddedSignUrlWithHttpInfo(
+ @javax.annotation.Nonnull String signatureId) throws ApiException {
// Check required parameters
if (signatureId == null) {
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/api/FaxApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/FaxApi.java
index 259f1117d..20e8aaea6 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/FaxApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/FaxApi.java
@@ -18,7 +18,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class FaxApi {
private ApiClient apiClient;
@@ -61,7 +61,7 @@ public void setApiClient(ApiClient apiClient) {
* | 4XX | failed_operation | - |
*
*/
- public void faxDelete(String faxId) throws ApiException {
+ public void faxDelete(@javax.annotation.Nonnull String faxId) throws ApiException {
faxDeleteWithHttpInfo(faxId);
}
@@ -79,7 +79,8 @@ public void faxDelete(String faxId) throws ApiException {
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse faxDeleteWithHttpInfo(String faxId) throws ApiException {
+ public ApiResponse faxDeleteWithHttpInfo(@javax.annotation.Nonnull String faxId)
+ throws ApiException {
// Check required parameters
if (faxId == null) {
@@ -128,7 +129,7 @@ public ApiResponse faxDeleteWithHttpInfo(String faxId) throws ApiException
* | 4XX | failed_operation | - |
*
*/
- public File faxFiles(String faxId) throws ApiException {
+ public File faxFiles(@javax.annotation.Nonnull String faxId) throws ApiException {
return faxFilesWithHttpInfo(faxId).getData();
}
@@ -146,7 +147,8 @@ public File faxFiles(String faxId) throws ApiException {
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse faxFilesWithHttpInfo(String faxId) throws ApiException {
+ public ApiResponse faxFilesWithHttpInfo(@javax.annotation.Nonnull String faxId)
+ throws ApiException {
// Check required parameters
if (faxId == null) {
@@ -197,7 +199,7 @@ public ApiResponse faxFilesWithHttpInfo(String faxId) throws ApiException
* | 4XX | failed_operation | - |
*
*/
- public FaxGetResponse faxGet(String faxId) throws ApiException {
+ public FaxGetResponse faxGet(@javax.annotation.Nonnull String faxId) throws ApiException {
return faxGetWithHttpInfo(faxId).getData();
}
@@ -215,7 +217,8 @@ public FaxGetResponse faxGet(String faxId) throws ApiException {
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse faxGetWithHttpInfo(String faxId) throws ApiException {
+ public ApiResponse faxGetWithHttpInfo(@javax.annotation.Nonnull String faxId)
+ throws ApiException {
// Check required parameters
if (faxId == null) {
@@ -268,7 +271,9 @@ public ApiResponse faxGetWithHttpInfo(String faxId) throws ApiEx
* | 4XX | failed_operation | - |
*
*/
- public FaxListResponse faxList(Integer page, Integer pageSize) throws ApiException {
+ public FaxListResponse faxList(
+ @javax.annotation.Nullable Integer page, @javax.annotation.Nullable Integer pageSize)
+ throws ApiException {
return faxListWithHttpInfo(page, pageSize).getData();
}
@@ -327,7 +332,8 @@ public ApiResponse faxListWithHttpInfo(Integer page) throws Api
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse faxListWithHttpInfo(Integer page, Integer pageSize)
+ public ApiResponse faxListWithHttpInfo(
+ @javax.annotation.Nullable Integer page, @javax.annotation.Nullable Integer pageSize)
throws ApiException {
if (page == null) {
@@ -379,7 +385,8 @@ public ApiResponse faxListWithHttpInfo(Integer page, Integer pa
* | 4XX | failed_operation | - |
*
*/
- public FaxGetResponse faxSend(FaxSendRequest faxSendRequest) throws ApiException {
+ public FaxGetResponse faxSend(@javax.annotation.Nonnull FaxSendRequest faxSendRequest)
+ throws ApiException {
return faxSendWithHttpInfo(faxSendRequest).getData();
}
@@ -397,8 +404,8 @@ public FaxGetResponse faxSend(FaxSendRequest faxSendRequest) throws ApiException
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse faxSendWithHttpInfo(FaxSendRequest faxSendRequest)
- throws ApiException {
+ public ApiResponse faxSendWithHttpInfo(
+ @javax.annotation.Nonnull FaxSendRequest faxSendRequest) throws ApiException {
// Check required parameters
if (faxSendRequest == null) {
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/api/FaxLineApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/FaxLineApi.java
index 346232fe7..1e1637231 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/FaxLineApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/FaxLineApi.java
@@ -21,7 +21,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class FaxLineApi {
private ApiClient apiClient;
@@ -65,7 +65,8 @@ public void setApiClient(ApiClient apiClient) {
* | 4XX | failed_operation | - |
*
*/
- public FaxLineResponse faxLineAddUser(FaxLineAddUserRequest faxLineAddUserRequest)
+ public FaxLineResponse faxLineAddUser(
+ @javax.annotation.Nonnull FaxLineAddUserRequest faxLineAddUserRequest)
throws ApiException {
return faxLineAddUserWithHttpInfo(faxLineAddUserRequest).getData();
}
@@ -85,7 +86,8 @@ public FaxLineResponse faxLineAddUser(FaxLineAddUserRequest faxLineAddUserReques
*
*/
public ApiResponse faxLineAddUserWithHttpInfo(
- FaxLineAddUserRequest faxLineAddUserRequest) throws ApiException {
+ @javax.annotation.Nonnull FaxLineAddUserRequest faxLineAddUserRequest)
+ throws ApiException {
// Check required parameters
if (faxLineAddUserRequest == null) {
@@ -140,7 +142,11 @@ public ApiResponse faxLineAddUserWithHttpInfo(
*
*/
public FaxLineAreaCodeGetResponse faxLineAreaCodeGet(
- String country, String state, String province, String city) throws ApiException {
+ @javax.annotation.Nonnull String country,
+ @javax.annotation.Nullable String state,
+ @javax.annotation.Nullable String province,
+ @javax.annotation.Nullable String city)
+ throws ApiException {
return faxLineAreaCodeGetWithHttpInfo(country, state, province, city).getData();
}
@@ -228,7 +234,11 @@ public ApiResponse faxLineAreaCodeGetWithHttpInfo(
*
*/
public ApiResponse faxLineAreaCodeGetWithHttpInfo(
- String country, String state, String province, String city) throws ApiException {
+ @javax.annotation.Nonnull String country,
+ @javax.annotation.Nullable String state,
+ @javax.annotation.Nullable String province,
+ @javax.annotation.Nullable String city)
+ throws ApiException {
// Check required parameters
if (country == null) {
@@ -283,7 +293,8 @@ public ApiResponse faxLineAreaCodeGetWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public FaxLineResponse faxLineCreate(FaxLineCreateRequest faxLineCreateRequest)
+ public FaxLineResponse faxLineCreate(
+ @javax.annotation.Nonnull FaxLineCreateRequest faxLineCreateRequest)
throws ApiException {
return faxLineCreateWithHttpInfo(faxLineCreateRequest).getData();
}
@@ -303,7 +314,8 @@ public FaxLineResponse faxLineCreate(FaxLineCreateRequest faxLineCreateRequest)
*
*/
public ApiResponse faxLineCreateWithHttpInfo(
- FaxLineCreateRequest faxLineCreateRequest) throws ApiException {
+ @javax.annotation.Nonnull FaxLineCreateRequest faxLineCreateRequest)
+ throws ApiException {
// Check required parameters
if (faxLineCreateRequest == null) {
@@ -352,7 +364,8 @@ public ApiResponse faxLineCreateWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public void faxLineDelete(FaxLineDeleteRequest faxLineDeleteRequest) throws ApiException {
+ public void faxLineDelete(@javax.annotation.Nonnull FaxLineDeleteRequest faxLineDeleteRequest)
+ throws ApiException {
faxLineDeleteWithHttpInfo(faxLineDeleteRequest);
}
@@ -370,7 +383,8 @@ public void faxLineDelete(FaxLineDeleteRequest faxLineDeleteRequest) throws ApiE
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse faxLineDeleteWithHttpInfo(FaxLineDeleteRequest faxLineDeleteRequest)
+ public ApiResponse faxLineDeleteWithHttpInfo(
+ @javax.annotation.Nonnull FaxLineDeleteRequest faxLineDeleteRequest)
throws ApiException {
// Check required parameters
@@ -420,7 +434,7 @@ public ApiResponse faxLineDeleteWithHttpInfo(FaxLineDeleteRequest faxLineD
* | 4XX | failed_operation | - |
*
*/
- public FaxLineResponse faxLineGet(String number) throws ApiException {
+ public FaxLineResponse faxLineGet(@javax.annotation.Nonnull String number) throws ApiException {
return faxLineGetWithHttpInfo(number).getData();
}
@@ -438,7 +452,8 @@ public FaxLineResponse faxLineGet(String number) throws ApiException {
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse faxLineGetWithHttpInfo(String number) throws ApiException {
+ public ApiResponse faxLineGetWithHttpInfo(
+ @javax.annotation.Nonnull String number) throws ApiException {
// Check required parameters
if (number == null) {
@@ -494,7 +509,10 @@ public ApiResponse faxLineGetWithHttpInfo(String number) throws
*
*/
public FaxLineListResponse faxLineList(
- String accountId, Integer page, Integer pageSize, Boolean showTeamLines)
+ @javax.annotation.Nullable String accountId,
+ @javax.annotation.Nullable Integer page,
+ @javax.annotation.Nullable Integer pageSize,
+ @javax.annotation.Nullable Boolean showTeamLines)
throws ApiException {
return faxLineListWithHttpInfo(accountId, page, pageSize, showTeamLines).getData();
}
@@ -607,7 +625,10 @@ public ApiResponse faxLineListWithHttpInfo(
*
*/
public ApiResponse faxLineListWithHttpInfo(
- String accountId, Integer page, Integer pageSize, Boolean showTeamLines)
+ @javax.annotation.Nullable String accountId,
+ @javax.annotation.Nullable Integer page,
+ @javax.annotation.Nullable Integer pageSize,
+ @javax.annotation.Nullable Boolean showTeamLines)
throws ApiException {
if (page == null) {
@@ -663,7 +684,8 @@ public ApiResponse faxLineListWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public FaxLineResponse faxLineRemoveUser(FaxLineRemoveUserRequest faxLineRemoveUserRequest)
+ public FaxLineResponse faxLineRemoveUser(
+ @javax.annotation.Nonnull FaxLineRemoveUserRequest faxLineRemoveUserRequest)
throws ApiException {
return faxLineRemoveUserWithHttpInfo(faxLineRemoveUserRequest).getData();
}
@@ -683,7 +705,8 @@ public FaxLineResponse faxLineRemoveUser(FaxLineRemoveUserRequest faxLineRemoveU
*
*/
public ApiResponse faxLineRemoveUserWithHttpInfo(
- FaxLineRemoveUserRequest faxLineRemoveUserRequest) throws ApiException {
+ @javax.annotation.Nonnull FaxLineRemoveUserRequest faxLineRemoveUserRequest)
+ throws ApiException {
// Check required parameters
if (faxLineRemoveUserRequest == null) {
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/api/OAuthApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/OAuthApi.java
index 4286c030c..f2ef94ad1 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/OAuthApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/OAuthApi.java
@@ -14,7 +14,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class OAuthApi {
private ApiClient apiClient;
@@ -60,7 +60,8 @@ public void setApiClient(ApiClient apiClient) {
*
*/
public OAuthTokenResponse oauthTokenGenerate(
- OAuthTokenGenerateRequest oauthTokenGenerateRequest) throws ApiException {
+ @javax.annotation.Nonnull OAuthTokenGenerateRequest oauthTokenGenerateRequest)
+ throws ApiException {
return oauthTokenGenerateWithHttpInfo(oauthTokenGenerateRequest).getData();
}
@@ -80,7 +81,8 @@ public OAuthTokenResponse oauthTokenGenerate(
*
*/
public ApiResponse oauthTokenGenerateWithHttpInfo(
- OAuthTokenGenerateRequest oauthTokenGenerateRequest) throws ApiException {
+ @javax.annotation.Nonnull OAuthTokenGenerateRequest oauthTokenGenerateRequest)
+ throws ApiException {
// Check required parameters
if (oauthTokenGenerateRequest == null) {
@@ -133,7 +135,8 @@ public ApiResponse oauthTokenGenerateWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public OAuthTokenResponse oauthTokenRefresh(OAuthTokenRefreshRequest oauthTokenRefreshRequest)
+ public OAuthTokenResponse oauthTokenRefresh(
+ @javax.annotation.Nonnull OAuthTokenRefreshRequest oauthTokenRefreshRequest)
throws ApiException {
return oauthTokenRefreshWithHttpInfo(oauthTokenRefreshRequest).getData();
}
@@ -156,7 +159,8 @@ public OAuthTokenResponse oauthTokenRefresh(OAuthTokenRefreshRequest oauthTokenR
*
*/
public ApiResponse oauthTokenRefreshWithHttpInfo(
- OAuthTokenRefreshRequest oauthTokenRefreshRequest) throws ApiException {
+ @javax.annotation.Nonnull OAuthTokenRefreshRequest oauthTokenRefreshRequest)
+ throws ApiException {
// Check required parameters
if (oauthTokenRefreshRequest == null) {
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/api/ReportApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/ReportApi.java
index 32c6bea91..746ce6af4 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/ReportApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/ReportApi.java
@@ -13,7 +13,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class ReportApi {
private ApiClient apiClient;
@@ -60,8 +60,8 @@ public void setApiClient(ApiClient apiClient) {
* | 4XX | failed_operation | - |
*
*/
- public ReportCreateResponse reportCreate(ReportCreateRequest reportCreateRequest)
- throws ApiException {
+ public ReportCreateResponse reportCreate(
+ @javax.annotation.Nonnull ReportCreateRequest reportCreateRequest) throws ApiException {
return reportCreateWithHttpInfo(reportCreateRequest).getData();
}
@@ -83,7 +83,7 @@ public ReportCreateResponse reportCreate(ReportCreateRequest reportCreateRequest
*
*/
public ApiResponse reportCreateWithHttpInfo(
- ReportCreateRequest reportCreateRequest) throws ApiException {
+ @javax.annotation.Nonnull ReportCreateRequest reportCreateRequest) throws ApiException {
// Check required parameters
if (reportCreateRequest == null) {
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/api/SignatureRequestApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/SignatureRequestApi.java
index acda9a05e..8b67aac30 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/SignatureRequestApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/SignatureRequestApi.java
@@ -32,7 +32,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class SignatureRequestApi {
private ApiClient apiClient;
@@ -81,8 +81,9 @@ public void setApiClient(ApiClient apiClient) {
*
*/
public BulkSendJobSendResponse signatureRequestBulkCreateEmbeddedWithTemplate(
- SignatureRequestBulkCreateEmbeddedWithTemplateRequest
- signatureRequestBulkCreateEmbeddedWithTemplateRequest)
+ @javax.annotation.Nonnull
+ SignatureRequestBulkCreateEmbeddedWithTemplateRequest
+ signatureRequestBulkCreateEmbeddedWithTemplateRequest)
throws ApiException {
return signatureRequestBulkCreateEmbeddedWithTemplateWithHttpInfo(
signatureRequestBulkCreateEmbeddedWithTemplateRequest)
@@ -109,8 +110,9 @@ public BulkSendJobSendResponse signatureRequestBulkCreateEmbeddedWithTemplate(
*/
public ApiResponse
signatureRequestBulkCreateEmbeddedWithTemplateWithHttpInfo(
- SignatureRequestBulkCreateEmbeddedWithTemplateRequest
- signatureRequestBulkCreateEmbeddedWithTemplateRequest)
+ @javax.annotation.Nonnull
+ SignatureRequestBulkCreateEmbeddedWithTemplateRequest
+ signatureRequestBulkCreateEmbeddedWithTemplateRequest)
throws ApiException {
// Check required parameters
@@ -167,7 +169,9 @@ public BulkSendJobSendResponse signatureRequestBulkCreateEmbeddedWithTemplate(
*
*/
public BulkSendJobSendResponse signatureRequestBulkSendWithTemplate(
- SignatureRequestBulkSendWithTemplateRequest signatureRequestBulkSendWithTemplateRequest)
+ @javax.annotation.Nonnull
+ SignatureRequestBulkSendWithTemplateRequest
+ signatureRequestBulkSendWithTemplateRequest)
throws ApiException {
return signatureRequestBulkSendWithTemplateWithHttpInfo(
signatureRequestBulkSendWithTemplateRequest)
@@ -191,7 +195,9 @@ public BulkSendJobSendResponse signatureRequestBulkSendWithTemplate(
*
*/
public ApiResponse signatureRequestBulkSendWithTemplateWithHttpInfo(
- SignatureRequestBulkSendWithTemplateRequest signatureRequestBulkSendWithTemplateRequest)
+ @javax.annotation.Nonnull
+ SignatureRequestBulkSendWithTemplateRequest
+ signatureRequestBulkSendWithTemplateRequest)
throws ApiException {
// Check required parameters
@@ -260,7 +266,8 @@ public ApiResponse signatureRequestBulkSendWithTemplate
* | 4XX | failed_operation | - |
*
*/
- public void signatureRequestCancel(String signatureRequestId) throws ApiException {
+ public void signatureRequestCancel(@javax.annotation.Nonnull String signatureRequestId)
+ throws ApiException {
signatureRequestCancelWithHttpInfo(signatureRequestId);
}
@@ -295,8 +302,8 @@ public void signatureRequestCancel(String signatureRequestId) throws ApiExceptio
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse signatureRequestCancelWithHttpInfo(String signatureRequestId)
- throws ApiException {
+ public ApiResponse signatureRequestCancelWithHttpInfo(
+ @javax.annotation.Nonnull String signatureRequestId) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -356,7 +363,8 @@ public ApiResponse signatureRequestCancelWithHttpInfo(String signatureRequ
*
*/
public SignatureRequestGetResponse signatureRequestCreateEmbedded(
- SignatureRequestCreateEmbeddedRequest signatureRequestCreateEmbeddedRequest)
+ @javax.annotation.Nonnull
+ SignatureRequestCreateEmbeddedRequest signatureRequestCreateEmbeddedRequest)
throws ApiException {
return signatureRequestCreateEmbeddedWithHttpInfo(signatureRequestCreateEmbeddedRequest)
.getData();
@@ -382,7 +390,8 @@ public SignatureRequestGetResponse signatureRequestCreateEmbedded(
*
*/
public ApiResponse signatureRequestCreateEmbeddedWithHttpInfo(
- SignatureRequestCreateEmbeddedRequest signatureRequestCreateEmbeddedRequest)
+ @javax.annotation.Nonnull
+ SignatureRequestCreateEmbeddedRequest signatureRequestCreateEmbeddedRequest)
throws ApiException {
// Check required parameters
@@ -439,8 +448,9 @@ public ApiResponse signatureRequestCreateEmbeddedWi
*
*/
public SignatureRequestGetResponse signatureRequestCreateEmbeddedWithTemplate(
- SignatureRequestCreateEmbeddedWithTemplateRequest
- signatureRequestCreateEmbeddedWithTemplateRequest)
+ @javax.annotation.Nonnull
+ SignatureRequestCreateEmbeddedWithTemplateRequest
+ signatureRequestCreateEmbeddedWithTemplateRequest)
throws ApiException {
return signatureRequestCreateEmbeddedWithTemplateWithHttpInfo(
signatureRequestCreateEmbeddedWithTemplateRequest)
@@ -466,8 +476,9 @@ public SignatureRequestGetResponse signatureRequestCreateEmbeddedWithTemplate(
*/
public ApiResponse
signatureRequestCreateEmbeddedWithTemplateWithHttpInfo(
- SignatureRequestCreateEmbeddedWithTemplateRequest
- signatureRequestCreateEmbeddedWithTemplateRequest)
+ @javax.annotation.Nonnull
+ SignatureRequestCreateEmbeddedWithTemplateRequest
+ signatureRequestCreateEmbeddedWithTemplateRequest)
throws ApiException {
// Check required parameters
@@ -526,7 +537,8 @@ public SignatureRequestGetResponse signatureRequestCreateEmbeddedWithTemplate(
*
*/
public SignatureRequestGetResponse signatureRequestEdit(
- String signatureRequestId, SignatureRequestEditRequest signatureRequestEditRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull SignatureRequestEditRequest signatureRequestEditRequest)
throws ApiException {
return signatureRequestEditWithHttpInfo(signatureRequestId, signatureRequestEditRequest)
.getData();
@@ -551,7 +563,8 @@ public SignatureRequestGetResponse signatureRequestEdit(
*
*/
public ApiResponse signatureRequestEditWithHttpInfo(
- String signatureRequestId, SignatureRequestEditRequest signatureRequestEditRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull SignatureRequestEditRequest signatureRequestEditRequest)
throws ApiException {
// Check required parameters
@@ -624,8 +637,9 @@ public ApiResponse signatureRequestEditWithHttpInfo
*
*/
public SignatureRequestGetResponse signatureRequestEditEmbedded(
- String signatureRequestId,
- SignatureRequestEditEmbeddedRequest signatureRequestEditEmbeddedRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull
+ SignatureRequestEditEmbeddedRequest signatureRequestEditEmbeddedRequest)
throws ApiException {
return signatureRequestEditEmbeddedWithHttpInfo(
signatureRequestId, signatureRequestEditEmbeddedRequest)
@@ -653,8 +667,9 @@ public SignatureRequestGetResponse signatureRequestEditEmbedded(
*
*/
public ApiResponse signatureRequestEditEmbeddedWithHttpInfo(
- String signatureRequestId,
- SignatureRequestEditEmbeddedRequest signatureRequestEditEmbeddedRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull
+ SignatureRequestEditEmbeddedRequest signatureRequestEditEmbeddedRequest)
throws ApiException {
// Check required parameters
@@ -725,9 +740,10 @@ public ApiResponse signatureRequestEditEmbeddedWith
*
*/
public SignatureRequestGetResponse signatureRequestEditEmbeddedWithTemplate(
- String signatureRequestId,
- SignatureRequestEditEmbeddedWithTemplateRequest
- signatureRequestEditEmbeddedWithTemplateRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull
+ SignatureRequestEditEmbeddedWithTemplateRequest
+ signatureRequestEditEmbeddedWithTemplateRequest)
throws ApiException {
return signatureRequestEditEmbeddedWithTemplateWithHttpInfo(
signatureRequestId, signatureRequestEditEmbeddedWithTemplateRequest)
@@ -754,9 +770,10 @@ public SignatureRequestGetResponse signatureRequestEditEmbeddedWithTemplate(
*/
public ApiResponse
signatureRequestEditEmbeddedWithTemplateWithHttpInfo(
- String signatureRequestId,
- SignatureRequestEditEmbeddedWithTemplateRequest
- signatureRequestEditEmbeddedWithTemplateRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull
+ SignatureRequestEditEmbeddedWithTemplateRequest
+ signatureRequestEditEmbeddedWithTemplateRequest)
throws ApiException {
// Check required parameters
@@ -827,8 +844,9 @@ public SignatureRequestGetResponse signatureRequestEditEmbeddedWithTemplate(
*
*/
public SignatureRequestGetResponse signatureRequestEditWithTemplate(
- String signatureRequestId,
- SignatureRequestEditWithTemplateRequest signatureRequestEditWithTemplateRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull
+ SignatureRequestEditWithTemplateRequest signatureRequestEditWithTemplateRequest)
throws ApiException {
return signatureRequestEditWithTemplateWithHttpInfo(
signatureRequestId, signatureRequestEditWithTemplateRequest)
@@ -853,8 +871,9 @@ public SignatureRequestGetResponse signatureRequestEditWithTemplate(
*
*/
public ApiResponse signatureRequestEditWithTemplateWithHttpInfo(
- String signatureRequestId,
- SignatureRequestEditWithTemplateRequest signatureRequestEditWithTemplateRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull
+ SignatureRequestEditWithTemplateRequest signatureRequestEditWithTemplateRequest)
throws ApiException {
// Check required parameters
@@ -924,7 +943,9 @@ public ApiResponse signatureRequestEditWithTemplate
* | 4XX | failed_operation | - |
*
*/
- public File signatureRequestFiles(String signatureRequestId, String fileType)
+ public File signatureRequestFiles(
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nullable String fileType)
throws ApiException {
return signatureRequestFilesWithHttpInfo(signatureRequestId, fileType).getData();
}
@@ -967,7 +988,9 @@ public ApiResponse signatureRequestFilesWithHttpInfo(String signatureReque
*
*/
public ApiResponse signatureRequestFilesWithHttpInfo(
- String signatureRequestId, String fileType) throws ApiException {
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nullable String fileType)
+ throws ApiException {
if (fileType == null) {
fileType = "pdf";
@@ -1034,8 +1057,8 @@ public ApiResponse signatureRequestFilesWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public FileResponseDataUri signatureRequestFilesAsDataUri(String signatureRequestId)
- throws ApiException {
+ public FileResponseDataUri signatureRequestFilesAsDataUri(
+ @javax.annotation.Nonnull String signatureRequestId) throws ApiException {
return signatureRequestFilesAsDataUriWithHttpInfo(signatureRequestId).getData();
}
@@ -1057,7 +1080,7 @@ public FileResponseDataUri signatureRequestFilesAsDataUri(String signatureReques
*
*/
public ApiResponse signatureRequestFilesAsDataUriWithHttpInfo(
- String signatureRequestId) throws ApiException {
+ @javax.annotation.Nonnull String signatureRequestId) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -1120,7 +1143,9 @@ public ApiResponse signatureRequestFilesAsDataUriWithHttpIn
*
*/
public FileResponse signatureRequestFilesAsFileUrl(
- String signatureRequestId, Integer forceDownload) throws ApiException {
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nullable Integer forceDownload)
+ throws ApiException {
return signatureRequestFilesAsFileUrlWithHttpInfo(signatureRequestId, forceDownload)
.getData();
}
@@ -1167,7 +1192,9 @@ public ApiResponse signatureRequestFilesAsFileUrlWithHttpInfo(
*
*/
public ApiResponse signatureRequestFilesAsFileUrlWithHttpInfo(
- String signatureRequestId, Integer forceDownload) throws ApiException {
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nullable Integer forceDownload)
+ throws ApiException {
if (forceDownload == null) {
forceDownload = 1;
@@ -1230,8 +1257,8 @@ public ApiResponse signatureRequestFilesAsFileUrlWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public SignatureRequestGetResponse signatureRequestGet(String signatureRequestId)
- throws ApiException {
+ public SignatureRequestGetResponse signatureRequestGet(
+ @javax.annotation.Nonnull String signatureRequestId) throws ApiException {
return signatureRequestGetWithHttpInfo(signatureRequestId).getData();
}
@@ -1251,7 +1278,7 @@ public SignatureRequestGetResponse signatureRequestGet(String signatureRequestId
*
*/
public ApiResponse signatureRequestGetWithHttpInfo(
- String signatureRequestId) throws ApiException {
+ @javax.annotation.Nonnull String signatureRequestId) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -1318,7 +1345,11 @@ public ApiResponse signatureRequestGetWithHttpInfo(
*
*/
public SignatureRequestListResponse signatureRequestList(
- String accountId, Integer page, Integer pageSize, String query) throws ApiException {
+ @javax.annotation.Nullable String accountId,
+ @javax.annotation.Nullable Integer page,
+ @javax.annotation.Nullable Integer pageSize,
+ @javax.annotation.Nullable String query)
+ throws ApiException {
return signatureRequestListWithHttpInfo(accountId, page, pageSize, query).getData();
}
@@ -1437,7 +1468,11 @@ public ApiResponse signatureRequestListWithHttpInf
*
*/
public ApiResponse signatureRequestListWithHttpInfo(
- String accountId, Integer page, Integer pageSize, String query) throws ApiException {
+ @javax.annotation.Nullable String accountId,
+ @javax.annotation.Nullable Integer page,
+ @javax.annotation.Nullable Integer pageSize,
+ @javax.annotation.Nullable String query)
+ throws ApiException {
if (page == null) {
page = 1;
@@ -1494,8 +1529,8 @@ public ApiResponse signatureRequestListWithHttpInf
* | 4XX | failed_operation | - |
*
*/
- public SignatureRequestGetResponse signatureRequestReleaseHold(String signatureRequestId)
- throws ApiException {
+ public SignatureRequestGetResponse signatureRequestReleaseHold(
+ @javax.annotation.Nonnull String signatureRequestId) throws ApiException {
return signatureRequestReleaseHoldWithHttpInfo(signatureRequestId).getData();
}
@@ -1517,7 +1552,7 @@ public SignatureRequestGetResponse signatureRequestReleaseHold(String signatureR
*
*/
public ApiResponse signatureRequestReleaseHoldWithHttpInfo(
- String signatureRequestId) throws ApiException {
+ @javax.annotation.Nonnull String signatureRequestId) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -1578,7 +1613,8 @@ public ApiResponse signatureRequestReleaseHoldWithH
*
*/
public SignatureRequestGetResponse signatureRequestRemind(
- String signatureRequestId, SignatureRequestRemindRequest signatureRequestRemindRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull SignatureRequestRemindRequest signatureRequestRemindRequest)
throws ApiException {
return signatureRequestRemindWithHttpInfo(signatureRequestId, signatureRequestRemindRequest)
.getData();
@@ -1603,7 +1639,8 @@ public SignatureRequestGetResponse signatureRequestRemind(
*
*/
public ApiResponse signatureRequestRemindWithHttpInfo(
- String signatureRequestId, SignatureRequestRemindRequest signatureRequestRemindRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull SignatureRequestRemindRequest signatureRequestRemindRequest)
throws ApiException {
// Check required parameters
@@ -1672,7 +1709,8 @@ public ApiResponse signatureRequestRemindWithHttpIn
* | 4XX | failed_operation | - |
*
*/
- public void signatureRequestRemove(String signatureRequestId) throws ApiException {
+ public void signatureRequestRemove(@javax.annotation.Nonnull String signatureRequestId)
+ throws ApiException {
signatureRequestRemoveWithHttpInfo(signatureRequestId);
}
@@ -1695,8 +1733,8 @@ public void signatureRequestRemove(String signatureRequestId) throws ApiExceptio
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse signatureRequestRemoveWithHttpInfo(String signatureRequestId)
- throws ApiException {
+ public ApiResponse signatureRequestRemoveWithHttpInfo(
+ @javax.annotation.Nonnull String signatureRequestId) throws ApiException {
// Check required parameters
if (signatureRequestId == null) {
@@ -1754,7 +1792,8 @@ public ApiResponse signatureRequestRemoveWithHttpInfo(String signatureRequ
*
*/
public SignatureRequestGetResponse signatureRequestSend(
- SignatureRequestSendRequest signatureRequestSendRequest) throws ApiException {
+ @javax.annotation.Nonnull SignatureRequestSendRequest signatureRequestSendRequest)
+ throws ApiException {
return signatureRequestSendWithHttpInfo(signatureRequestSendRequest).getData();
}
@@ -1776,7 +1815,8 @@ public SignatureRequestGetResponse signatureRequestSend(
*
*/
public ApiResponse signatureRequestSendWithHttpInfo(
- SignatureRequestSendRequest signatureRequestSendRequest) throws ApiException {
+ @javax.annotation.Nonnull SignatureRequestSendRequest signatureRequestSendRequest)
+ throws ApiException {
// Check required parameters
if (signatureRequestSendRequest == null) {
@@ -1830,7 +1870,8 @@ public ApiResponse signatureRequestSendWithHttpInfo
*
*/
public SignatureRequestGetResponse signatureRequestSendWithTemplate(
- SignatureRequestSendWithTemplateRequest signatureRequestSendWithTemplateRequest)
+ @javax.annotation.Nonnull
+ SignatureRequestSendWithTemplateRequest signatureRequestSendWithTemplateRequest)
throws ApiException {
return signatureRequestSendWithTemplateWithHttpInfo(signatureRequestSendWithTemplateRequest)
.getData();
@@ -1852,7 +1893,8 @@ public SignatureRequestGetResponse signatureRequestSendWithTemplate(
*
*/
public ApiResponse signatureRequestSendWithTemplateWithHttpInfo(
- SignatureRequestSendWithTemplateRequest signatureRequestSendWithTemplateRequest)
+ @javax.annotation.Nonnull
+ SignatureRequestSendWithTemplateRequest signatureRequestSendWithTemplateRequest)
throws ApiException {
// Check required parameters
@@ -1911,7 +1953,8 @@ public ApiResponse signatureRequestSendWithTemplate
*
*/
public SignatureRequestGetResponse signatureRequestUpdate(
- String signatureRequestId, SignatureRequestUpdateRequest signatureRequestUpdateRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull SignatureRequestUpdateRequest signatureRequestUpdateRequest)
throws ApiException {
return signatureRequestUpdateWithHttpInfo(signatureRequestId, signatureRequestUpdateRequest)
.getData();
@@ -1937,7 +1980,8 @@ public SignatureRequestGetResponse signatureRequestUpdate(
*
*/
public ApiResponse signatureRequestUpdateWithHttpInfo(
- String signatureRequestId, SignatureRequestUpdateRequest signatureRequestUpdateRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull SignatureRequestUpdateRequest signatureRequestUpdateRequest)
throws ApiException {
// Check required parameters
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/api/TeamApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/TeamApi.java
index 7ccffdb6d..bea4c07c5 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/TeamApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/TeamApi.java
@@ -23,7 +23,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class TeamApi {
private ApiClient apiClient;
@@ -71,7 +71,9 @@ public void setApiClient(ApiClient apiClient) {
* | 4XX | failed_operation | - |
*
*/
- public TeamGetResponse teamAddMember(TeamAddMemberRequest teamAddMemberRequest, String teamId)
+ public TeamGetResponse teamAddMember(
+ @javax.annotation.Nonnull TeamAddMemberRequest teamAddMemberRequest,
+ @javax.annotation.Nullable String teamId)
throws ApiException {
return teamAddMemberWithHttpInfo(teamAddMemberRequest, teamId).getData();
}
@@ -115,7 +117,9 @@ public ApiResponse teamAddMemberWithHttpInfo(
*
*/
public ApiResponse teamAddMemberWithHttpInfo(
- TeamAddMemberRequest teamAddMemberRequest, String teamId) throws ApiException {
+ @javax.annotation.Nonnull TeamAddMemberRequest teamAddMemberRequest,
+ @javax.annotation.Nullable String teamId)
+ throws ApiException {
// Check required parameters
if (teamAddMemberRequest == null) {
@@ -170,7 +174,8 @@ public ApiResponse teamAddMemberWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public TeamGetResponse teamCreate(TeamCreateRequest teamCreateRequest) throws ApiException {
+ public TeamGetResponse teamCreate(@javax.annotation.Nonnull TeamCreateRequest teamCreateRequest)
+ throws ApiException {
return teamCreateWithHttpInfo(teamCreateRequest).getData();
}
@@ -189,8 +194,8 @@ public TeamGetResponse teamCreate(TeamCreateRequest teamCreateRequest) throws Ap
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse teamCreateWithHttpInfo(TeamCreateRequest teamCreateRequest)
- throws ApiException {
+ public ApiResponse teamCreateWithHttpInfo(
+ @javax.annotation.Nonnull TeamCreateRequest teamCreateRequest) throws ApiException {
// Check required parameters
if (teamCreateRequest == null) {
@@ -353,7 +358,8 @@ public ApiResponse teamGetWithHttpInfo() throws ApiException {
* | 4XX | failed_operation | - |
*
*/
- public TeamGetInfoResponse teamInfo(String teamId) throws ApiException {
+ public TeamGetInfoResponse teamInfo(@javax.annotation.Nullable String teamId)
+ throws ApiException {
return teamInfoWithHttpInfo(teamId).getData();
}
@@ -389,8 +395,8 @@ public ApiResponse teamInfoWithHttpInfo() throws ApiExcepti
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse teamInfoWithHttpInfo(String teamId)
- throws ApiException {
+ public ApiResponse teamInfoWithHttpInfo(
+ @javax.annotation.Nullable String teamId) throws ApiException {
// Query parameters
List localVarQueryParams =
@@ -435,7 +441,8 @@ public ApiResponse teamInfoWithHttpInfo(String teamId)
* | 4XX | failed_operation | - |
*
*/
- public TeamInvitesResponse teamInvites(String emailAddress) throws ApiException {
+ public TeamInvitesResponse teamInvites(@javax.annotation.Nullable String emailAddress)
+ throws ApiException {
return teamInvitesWithHttpInfo(emailAddress).getData();
}
@@ -471,8 +478,8 @@ public ApiResponse teamInvitesWithHttpInfo() throws ApiExce
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse teamInvitesWithHttpInfo(String emailAddress)
- throws ApiException {
+ public ApiResponse teamInvitesWithHttpInfo(
+ @javax.annotation.Nullable String emailAddress) throws ApiException {
// Query parameters
List localVarQueryParams =
@@ -522,7 +529,10 @@ public ApiResponse teamInvitesWithHttpInfo(String emailAddr
* | 4XX | failed_operation | - |
*
*/
- public TeamMembersResponse teamMembers(String teamId, Integer page, Integer pageSize)
+ public TeamMembersResponse teamMembers(
+ @javax.annotation.Nonnull String teamId,
+ @javax.annotation.Nullable Integer page,
+ @javax.annotation.Nullable Integer pageSize)
throws ApiException {
return teamMembersWithHttpInfo(teamId, page, pageSize).getData();
}
@@ -587,7 +597,10 @@ public ApiResponse teamMembersWithHttpInfo(String teamId, I
*
*/
public ApiResponse teamMembersWithHttpInfo(
- String teamId, Integer page, Integer pageSize) throws ApiException {
+ @javax.annotation.Nonnull String teamId,
+ @javax.annotation.Nullable Integer page,
+ @javax.annotation.Nullable Integer pageSize)
+ throws ApiException {
if (page == null) {
page = 1;
@@ -655,7 +668,8 @@ public ApiResponse teamMembersWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public TeamGetResponse teamRemoveMember(TeamRemoveMemberRequest teamRemoveMemberRequest)
+ public TeamGetResponse teamRemoveMember(
+ @javax.annotation.Nonnull TeamRemoveMemberRequest teamRemoveMemberRequest)
throws ApiException {
return teamRemoveMemberWithHttpInfo(teamRemoveMemberRequest).getData();
}
@@ -680,7 +694,8 @@ public TeamGetResponse teamRemoveMember(TeamRemoveMemberRequest teamRemoveMember
*
*/
public ApiResponse teamRemoveMemberWithHttpInfo(
- TeamRemoveMemberRequest teamRemoveMemberRequest) throws ApiException {
+ @javax.annotation.Nonnull TeamRemoveMemberRequest teamRemoveMemberRequest)
+ throws ApiException {
// Check required parameters
if (teamRemoveMemberRequest == null) {
@@ -734,7 +749,10 @@ public ApiResponse teamRemoveMemberWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public TeamSubTeamsResponse teamSubTeams(String teamId, Integer page, Integer pageSize)
+ public TeamSubTeamsResponse teamSubTeams(
+ @javax.annotation.Nonnull String teamId,
+ @javax.annotation.Nullable Integer page,
+ @javax.annotation.Nullable Integer pageSize)
throws ApiException {
return teamSubTeamsWithHttpInfo(teamId, page, pageSize).getData();
}
@@ -798,7 +816,10 @@ public ApiResponse teamSubTeamsWithHttpInfo(String teamId,
*
*/
public ApiResponse teamSubTeamsWithHttpInfo(
- String teamId, Integer page, Integer pageSize) throws ApiException {
+ @javax.annotation.Nonnull String teamId,
+ @javax.annotation.Nullable Integer page,
+ @javax.annotation.Nullable Integer pageSize)
+ throws ApiException {
if (page == null) {
page = 1;
@@ -861,7 +882,8 @@ public ApiResponse teamSubTeamsWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public TeamGetResponse teamUpdate(TeamUpdateRequest teamUpdateRequest) throws ApiException {
+ public TeamGetResponse teamUpdate(@javax.annotation.Nonnull TeamUpdateRequest teamUpdateRequest)
+ throws ApiException {
return teamUpdateWithHttpInfo(teamUpdateRequest).getData();
}
@@ -879,8 +901,8 @@ public TeamGetResponse teamUpdate(TeamUpdateRequest teamUpdateRequest) throws Ap
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse teamUpdateWithHttpInfo(TeamUpdateRequest teamUpdateRequest)
- throws ApiException {
+ public ApiResponse teamUpdateWithHttpInfo(
+ @javax.annotation.Nonnull TeamUpdateRequest teamUpdateRequest) throws ApiException {
// Check required parameters
if (teamUpdateRequest == null) {
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/api/TemplateApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/TemplateApi.java
index f70c0134b..1b55fe16e 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/TemplateApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/TemplateApi.java
@@ -27,7 +27,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class TemplateApi {
private ApiClient apiClient;
@@ -74,7 +74,9 @@ public void setApiClient(ApiClient apiClient) {
*
*/
public TemplateGetResponse templateAddUser(
- String templateId, TemplateAddUserRequest templateAddUserRequest) throws ApiException {
+ @javax.annotation.Nonnull String templateId,
+ @javax.annotation.Nonnull TemplateAddUserRequest templateAddUserRequest)
+ throws ApiException {
return templateAddUserWithHttpInfo(templateId, templateAddUserRequest).getData();
}
@@ -95,7 +97,9 @@ public TemplateGetResponse templateAddUser(
*
*/
public ApiResponse templateAddUserWithHttpInfo(
- String templateId, TemplateAddUserRequest templateAddUserRequest) throws ApiException {
+ @javax.annotation.Nonnull String templateId,
+ @javax.annotation.Nonnull TemplateAddUserRequest templateAddUserRequest)
+ throws ApiException {
// Check required parameters
if (templateId == null) {
@@ -168,7 +172,8 @@ public ApiResponse templateAddUserWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public TemplateCreateResponse templateCreate(TemplateCreateRequest templateCreateRequest)
+ public TemplateCreateResponse templateCreate(
+ @javax.annotation.Nonnull TemplateCreateRequest templateCreateRequest)
throws ApiException {
return templateCreateWithHttpInfo(templateCreateRequest).getData();
}
@@ -199,7 +204,8 @@ public TemplateCreateResponse templateCreate(TemplateCreateRequest templateCreat
*
*/
public ApiResponse templateCreateWithHttpInfo(
- TemplateCreateRequest templateCreateRequest) throws ApiException {
+ @javax.annotation.Nonnull TemplateCreateRequest templateCreateRequest)
+ throws ApiException {
// Check required parameters
if (templateCreateRequest == null) {
@@ -253,7 +259,8 @@ public ApiResponse templateCreateWithHttpInfo(
*
*/
public TemplateCreateEmbeddedDraftResponse templateCreateEmbeddedDraft(
- TemplateCreateEmbeddedDraftRequest templateCreateEmbeddedDraftRequest)
+ @javax.annotation.Nonnull
+ TemplateCreateEmbeddedDraftRequest templateCreateEmbeddedDraftRequest)
throws ApiException {
return templateCreateEmbeddedDraftWithHttpInfo(templateCreateEmbeddedDraftRequest)
.getData();
@@ -275,7 +282,8 @@ public TemplateCreateEmbeddedDraftResponse templateCreateEmbeddedDraft(
*
*/
public ApiResponse templateCreateEmbeddedDraftWithHttpInfo(
- TemplateCreateEmbeddedDraftRequest templateCreateEmbeddedDraftRequest)
+ @javax.annotation.Nonnull
+ TemplateCreateEmbeddedDraftRequest templateCreateEmbeddedDraftRequest)
throws ApiException {
// Check required parameters
@@ -327,7 +335,7 @@ public ApiResponse templateCreateEmbeddedDr
* | 4XX | failed_operation | - |
*
*/
- public void templateDelete(String templateId) throws ApiException {
+ public void templateDelete(@javax.annotation.Nonnull String templateId) throws ApiException {
templateDeleteWithHttpInfo(templateId);
}
@@ -345,7 +353,8 @@ public void templateDelete(String templateId) throws ApiException {
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse templateDeleteWithHttpInfo(String templateId) throws ApiException {
+ public ApiResponse templateDeleteWithHttpInfo(@javax.annotation.Nonnull String templateId)
+ throws ApiException {
// Check required parameters
if (templateId == null) {
@@ -401,7 +410,9 @@ public ApiResponse templateDeleteWithHttpInfo(String templateId) throws Ap
* | 4XX | failed_operation | - |
*
*/
- public File templateFiles(String templateId, String fileType) throws ApiException {
+ public File templateFiles(
+ @javax.annotation.Nonnull String templateId, @javax.annotation.Nullable String fileType)
+ throws ApiException {
return templateFilesWithHttpInfo(templateId, fileType).getData();
}
@@ -442,7 +453,8 @@ public ApiResponse templateFilesWithHttpInfo(String templateId) throws Api
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse templateFilesWithHttpInfo(String templateId, String fileType)
+ public ApiResponse templateFilesWithHttpInfo(
+ @javax.annotation.Nonnull String templateId, @javax.annotation.Nullable String fileType)
throws ApiException {
// Check required parameters
@@ -505,7 +517,8 @@ public ApiResponse templateFilesWithHttpInfo(String templateId, String fil
* | 4XX | failed_operation | - |
*
*/
- public FileResponseDataUri templateFilesAsDataUri(String templateId) throws ApiException {
+ public FileResponseDataUri templateFilesAsDataUri(@javax.annotation.Nonnull String templateId)
+ throws ApiException {
return templateFilesAsDataUriWithHttpInfo(templateId).getData();
}
@@ -527,8 +540,8 @@ public FileResponseDataUri templateFilesAsDataUri(String templateId) throws ApiE
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse templateFilesAsDataUriWithHttpInfo(String templateId)
- throws ApiException {
+ public ApiResponse templateFilesAsDataUriWithHttpInfo(
+ @javax.annotation.Nonnull String templateId) throws ApiException {
// Check required parameters
if (templateId == null) {
@@ -589,7 +602,9 @@ public ApiResponse templateFilesAsDataUriWithHttpInfo(Strin
* | 4XX | failed_operation | - |
*
*/
- public FileResponse templateFilesAsFileUrl(String templateId, Integer forceDownload)
+ public FileResponse templateFilesAsFileUrl(
+ @javax.annotation.Nonnull String templateId,
+ @javax.annotation.Nullable Integer forceDownload)
throws ApiException {
return templateFilesAsFileUrlWithHttpInfo(templateId, forceDownload).getData();
}
@@ -634,7 +649,9 @@ public ApiResponse templateFilesAsFileUrlWithHttpInfo(String templ
*
*/
public ApiResponse templateFilesAsFileUrlWithHttpInfo(
- String templateId, Integer forceDownload) throws ApiException {
+ @javax.annotation.Nonnull String templateId,
+ @javax.annotation.Nullable Integer forceDownload)
+ throws ApiException {
if (forceDownload == null) {
forceDownload = 1;
@@ -695,7 +712,8 @@ public ApiResponse templateFilesAsFileUrlWithHttpInfo(
* | 4XX | failed_operation | - |
*
*/
- public TemplateGetResponse templateGet(String templateId) throws ApiException {
+ public TemplateGetResponse templateGet(@javax.annotation.Nonnull String templateId)
+ throws ApiException {
return templateGetWithHttpInfo(templateId).getData();
}
@@ -713,8 +731,8 @@ public TemplateGetResponse templateGet(String templateId) throws ApiException {
* | 4XX | failed_operation | - |
*
*/
- public ApiResponse templateGetWithHttpInfo(String templateId)
- throws ApiException {
+ public ApiResponse templateGetWithHttpInfo(
+ @javax.annotation.Nonnull String templateId) throws ApiException {
// Check required parameters
if (templateId == null) {
@@ -776,7 +794,11 @@ public ApiResponse templateGetWithHttpInfo(String templateI
*
*/
public TemplateListResponse templateList(
- String accountId, Integer page, Integer pageSize, String query) throws ApiException {
+ @javax.annotation.Nullable String accountId,
+ @javax.annotation.Nullable Integer page,
+ @javax.annotation.Nullable Integer pageSize,
+ @javax.annotation.Nullable String query)
+ throws ApiException {
return templateListWithHttpInfo(accountId, page, pageSize, query).getData();
}
@@ -891,7 +913,11 @@ public ApiResponse templateListWithHttpInfo(
*
*/
public ApiResponse templateListWithHttpInfo(
- String accountId, Integer page, Integer pageSize, String query) throws ApiException {
+ @javax.annotation.Nullable String accountId,
+ @javax.annotation.Nullable Integer page,
+ @javax.annotation.Nullable Integer pageSize,
+ @javax.annotation.Nullable String query)
+ throws ApiException {
if (page == null) {
page = 1;
@@ -948,7 +974,8 @@ public ApiResponse templateListWithHttpInfo(
*
*/
public TemplateGetResponse templateRemoveUser(
- String templateId, TemplateRemoveUserRequest templateRemoveUserRequest)
+ @javax.annotation.Nonnull String templateId,
+ @javax.annotation.Nonnull TemplateRemoveUserRequest templateRemoveUserRequest)
throws ApiException {
return templateRemoveUserWithHttpInfo(templateId, templateRemoveUserRequest).getData();
}
@@ -970,7 +997,8 @@ public TemplateGetResponse templateRemoveUser(
*
*/
public ApiResponse templateRemoveUserWithHttpInfo(
- String templateId, TemplateRemoveUserRequest templateRemoveUserRequest)
+ @javax.annotation.Nonnull String templateId,
+ @javax.annotation.Nonnull TemplateRemoveUserRequest templateRemoveUserRequest)
throws ApiException {
// Check required parameters
@@ -1048,7 +1076,8 @@ public ApiResponse templateRemoveUserWithHttpInfo(
*
*/
public TemplateUpdateFilesResponse templateUpdateFiles(
- String templateId, TemplateUpdateFilesRequest templateUpdateFilesRequest)
+ @javax.annotation.Nonnull String templateId,
+ @javax.annotation.Nonnull TemplateUpdateFilesRequest templateUpdateFilesRequest)
throws ApiException {
return templateUpdateFilesWithHttpInfo(templateId, templateUpdateFilesRequest).getData();
}
@@ -1082,7 +1111,8 @@ public TemplateUpdateFilesResponse templateUpdateFiles(
*
*/
public ApiResponse templateUpdateFilesWithHttpInfo(
- String templateId, TemplateUpdateFilesRequest templateUpdateFilesRequest)
+ @javax.annotation.Nonnull String templateId,
+ @javax.annotation.Nonnull TemplateUpdateFilesRequest templateUpdateFilesRequest)
throws ApiException {
// Check required parameters
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/api/UnclaimedDraftApi.java b/sdks/java-v1/src/main/java/com/dropbox/sign/api/UnclaimedDraftApi.java
index 61289c29f..ae02b3649 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/api/UnclaimedDraftApi.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/api/UnclaimedDraftApi.java
@@ -16,7 +16,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class UnclaimedDraftApi {
private ApiClient apiClient;
@@ -64,7 +64,8 @@ public void setApiClient(ApiClient apiClient) {
*
*/
public UnclaimedDraftCreateResponse unclaimedDraftCreate(
- UnclaimedDraftCreateRequest unclaimedDraftCreateRequest) throws ApiException {
+ @javax.annotation.Nonnull UnclaimedDraftCreateRequest unclaimedDraftCreateRequest)
+ throws ApiException {
return unclaimedDraftCreateWithHttpInfo(unclaimedDraftCreateRequest).getData();
}
@@ -86,7 +87,8 @@ public UnclaimedDraftCreateResponse unclaimedDraftCreate(
*
*/
public ApiResponse unclaimedDraftCreateWithHttpInfo(
- UnclaimedDraftCreateRequest unclaimedDraftCreateRequest) throws ApiException {
+ @javax.annotation.Nonnull UnclaimedDraftCreateRequest unclaimedDraftCreateRequest)
+ throws ApiException {
// Check required parameters
if (unclaimedDraftCreateRequest == null) {
@@ -145,7 +147,8 @@ public ApiResponse unclaimedDraftCreateWithHttpInf
*
*/
public UnclaimedDraftCreateResponse unclaimedDraftCreateEmbedded(
- UnclaimedDraftCreateEmbeddedRequest unclaimedDraftCreateEmbeddedRequest)
+ @javax.annotation.Nonnull
+ UnclaimedDraftCreateEmbeddedRequest unclaimedDraftCreateEmbeddedRequest)
throws ApiException {
return unclaimedDraftCreateEmbeddedWithHttpInfo(unclaimedDraftCreateEmbeddedRequest)
.getData();
@@ -172,7 +175,8 @@ public UnclaimedDraftCreateResponse unclaimedDraftCreateEmbedded(
*
*/
public ApiResponse unclaimedDraftCreateEmbeddedWithHttpInfo(
- UnclaimedDraftCreateEmbeddedRequest unclaimedDraftCreateEmbeddedRequest)
+ @javax.annotation.Nonnull
+ UnclaimedDraftCreateEmbeddedRequest unclaimedDraftCreateEmbeddedRequest)
throws ApiException {
// Check required parameters
@@ -232,8 +236,9 @@ public ApiResponse unclaimedDraftCreateEmbeddedWit
*
*/
public UnclaimedDraftCreateResponse unclaimedDraftCreateEmbeddedWithTemplate(
- UnclaimedDraftCreateEmbeddedWithTemplateRequest
- unclaimedDraftCreateEmbeddedWithTemplateRequest)
+ @javax.annotation.Nonnull
+ UnclaimedDraftCreateEmbeddedWithTemplateRequest
+ unclaimedDraftCreateEmbeddedWithTemplateRequest)
throws ApiException {
return unclaimedDraftCreateEmbeddedWithTemplateWithHttpInfo(
unclaimedDraftCreateEmbeddedWithTemplateRequest)
@@ -262,8 +267,9 @@ public UnclaimedDraftCreateResponse unclaimedDraftCreateEmbeddedWithTemplate(
*/
public ApiResponse
unclaimedDraftCreateEmbeddedWithTemplateWithHttpInfo(
- UnclaimedDraftCreateEmbeddedWithTemplateRequest
- unclaimedDraftCreateEmbeddedWithTemplateRequest)
+ @javax.annotation.Nonnull
+ UnclaimedDraftCreateEmbeddedWithTemplateRequest
+ unclaimedDraftCreateEmbeddedWithTemplateRequest)
throws ApiException {
// Check required parameters
@@ -324,8 +330,9 @@ public UnclaimedDraftCreateResponse unclaimedDraftCreateEmbeddedWithTemplate(
*
*/
public UnclaimedDraftCreateResponse unclaimedDraftEditAndResend(
- String signatureRequestId,
- UnclaimedDraftEditAndResendRequest unclaimedDraftEditAndResendRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull
+ UnclaimedDraftEditAndResendRequest unclaimedDraftEditAndResendRequest)
throws ApiException {
return unclaimedDraftEditAndResendWithHttpInfo(
signatureRequestId, unclaimedDraftEditAndResendRequest)
@@ -353,8 +360,9 @@ public UnclaimedDraftCreateResponse unclaimedDraftEditAndResend(
*
*/
public ApiResponse unclaimedDraftEditAndResendWithHttpInfo(
- String signatureRequestId,
- UnclaimedDraftEditAndResendRequest unclaimedDraftEditAndResendRequest)
+ @javax.annotation.Nonnull String signatureRequestId,
+ @javax.annotation.Nonnull
+ UnclaimedDraftEditAndResendRequest unclaimedDraftEditAndResendRequest)
throws ApiException {
// Check required parameters
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/auth/ApiKeyAuth.java b/sdks/java-v1/src/main/java/com/dropbox/sign/auth/ApiKeyAuth.java
index 9f8742a3d..60b5684d3 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/auth/ApiKeyAuth.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/auth/ApiKeyAuth.java
@@ -20,7 +20,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/auth/Authentication.java b/sdks/java-v1/src/main/java/com/dropbox/sign/auth/Authentication.java
index 9d183342d..870da1121 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/auth/Authentication.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/auth/Authentication.java
@@ -18,6 +18,9 @@
import java.util.List;
import java.util.Map;
+@javax.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.26.0")
public interface Authentication {
/**
* Apply authentication settings to header and query params.
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/auth/HttpBasicAuth.java b/sdks/java-v1/src/main/java/com/dropbox/sign/auth/HttpBasicAuth.java
index 9fd1f753b..397668cbd 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/auth/HttpBasicAuth.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/auth/HttpBasicAuth.java
@@ -22,7 +22,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class HttpBasicAuth implements Authentication {
private String username;
private String password;
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/auth/HttpBearerAuth.java b/sdks/java-v1/src/main/java/com/dropbox/sign/auth/HttpBearerAuth.java
index a77c13eda..cded62bcd 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/auth/HttpBearerAuth.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/auth/HttpBearerAuth.java
@@ -20,7 +20,7 @@
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public class HttpBearerAuth implements Authentication {
private final String scheme;
private String bearerToken;
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AbstractOpenApiSchema.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AbstractOpenApiSchema.java
index 4e340e3f1..747f909fd 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AbstractOpenApiSchema.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AbstractOpenApiSchema.java
@@ -20,7 +20,7 @@
/** Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
public abstract class AbstractOpenApiSchema {
// store the actual instance of the schema/object
@@ -108,10 +108,7 @@ public String toString() {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
public boolean equals(Object o) {
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountCreateRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountCreateRequest.java
index 9d881c79f..29e845f81 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountCreateRequest.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountCreateRequest.java
@@ -32,7 +32,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountCreateRequest {
public static final String JSON_PROPERTY_EMAIL_ADDRESS = "email_address";
@@ -74,13 +74,13 @@ public AccountCreateRequest emailAddress(@javax.annotation.Nonnull String emailA
* @return emailAddress
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @JsonProperty(value = JSON_PROPERTY_EMAIL_ADDRESS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getEmailAddress() {
return emailAddress;
}
- @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @JsonProperty(value = JSON_PROPERTY_EMAIL_ADDRESS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEmailAddress(@javax.annotation.Nonnull String emailAddress) {
this.emailAddress = emailAddress;
@@ -97,13 +97,13 @@ public AccountCreateRequest clientId(@javax.annotation.Nullable String clientId)
*
* @return clientId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT_ID)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CLIENT_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getClientId() {
return clientId;
}
- @JsonProperty(JSON_PROPERTY_CLIENT_ID)
+ @JsonProperty(value = JSON_PROPERTY_CLIENT_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setClientId(@javax.annotation.Nullable String clientId) {
this.clientId = clientId;
@@ -120,13 +120,13 @@ public AccountCreateRequest clientSecret(@javax.annotation.Nullable String clien
*
* @return clientSecret
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT_SECRET)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CLIENT_SECRET, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getClientSecret() {
return clientSecret;
}
- @JsonProperty(JSON_PROPERTY_CLIENT_SECRET)
+ @JsonProperty(value = JSON_PROPERTY_CLIENT_SECRET, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setClientSecret(@javax.annotation.Nullable String clientSecret) {
this.clientSecret = clientSecret;
@@ -144,13 +144,13 @@ public AccountCreateRequest locale(@javax.annotation.Nullable String locale) {
*
* @return locale
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LOCALE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_LOCALE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLocale() {
return locale;
}
- @JsonProperty(JSON_PROPERTY_LOCALE)
+ @JsonProperty(value = JSON_PROPERTY_LOCALE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLocale(@javax.annotation.Nullable String locale) {
this.locale = locale;
@@ -308,9 +308,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountCreateResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountCreateResponse.java
index 328622b72..addaa8e58 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountCreateResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountCreateResponse.java
@@ -33,7 +33,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountCreateResponse {
public static final String JSON_PROPERTY_ACCOUNT = "account";
@@ -73,13 +73,13 @@ public AccountCreateResponse account(@javax.annotation.Nonnull AccountResponse a
* @return account
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_ACCOUNT)
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public AccountResponse getAccount() {
return account;
}
- @JsonProperty(JSON_PROPERTY_ACCOUNT)
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAccount(@javax.annotation.Nonnull AccountResponse account) {
this.account = account;
@@ -96,13 +96,13 @@ public AccountCreateResponse oauthData(
*
* @return oauthData
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OAUTH_DATA)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_OAUTH_DATA, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OAuthTokenResponse getOauthData() {
return oauthData;
}
- @JsonProperty(JSON_PROPERTY_OAUTH_DATA)
+ @JsonProperty(value = JSON_PROPERTY_OAUTH_DATA, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOauthData(@javax.annotation.Nullable OAuthTokenResponse oauthData) {
this.oauthData = oauthData;
@@ -127,13 +127,13 @@ public AccountCreateResponse addWarningsItem(WarningResponse warningsItem) {
*
* @return warnings
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getWarnings() {
return warnings;
}
- @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWarnings(@javax.annotation.Nullable List warnings) {
this.warnings = warnings;
@@ -267,9 +267,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountGetResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountGetResponse.java
index c63b7c4b9..cb8703d08 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountGetResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountGetResponse.java
@@ -32,7 +32,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountGetResponse {
public static final String JSON_PROPERTY_ACCOUNT = "account";
@@ -68,13 +68,13 @@ public AccountGetResponse account(@javax.annotation.Nonnull AccountResponse acco
* @return account
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_ACCOUNT)
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public AccountResponse getAccount() {
return account;
}
- @JsonProperty(JSON_PROPERTY_ACCOUNT)
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAccount(@javax.annotation.Nonnull AccountResponse account) {
this.account = account;
@@ -98,13 +98,13 @@ public AccountGetResponse addWarningsItem(WarningResponse warningsItem) {
*
* @return warnings
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getWarnings() {
return warnings;
}
- @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWarnings(@javax.annotation.Nullable List warnings) {
this.warnings = warnings;
@@ -216,9 +216,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponse.java
index 7d694847b..7e238b020 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponse.java
@@ -40,7 +40,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountResponse {
public static final String JSON_PROPERTY_ACCOUNT_ID = "account_id";
@@ -105,13 +105,13 @@ public AccountResponse accountId(@javax.annotation.Nullable String accountId) {
*
* @return accountId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_ACCOUNT_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAccountId() {
return accountId;
}
- @JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAccountId(@javax.annotation.Nullable String accountId) {
this.accountId = accountId;
@@ -127,13 +127,13 @@ public AccountResponse emailAddress(@javax.annotation.Nullable String emailAddre
*
* @return emailAddress
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_EMAIL_ADDRESS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEmailAddress() {
return emailAddress;
}
- @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @JsonProperty(value = JSON_PROPERTY_EMAIL_ADDRESS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEmailAddress(@javax.annotation.Nullable String emailAddress) {
this.emailAddress = emailAddress;
@@ -149,13 +149,13 @@ public AccountResponse isLocked(@javax.annotation.Nullable Boolean isLocked) {
*
* @return isLocked
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_LOCKED)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_IS_LOCKED, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getIsLocked() {
return isLocked;
}
- @JsonProperty(JSON_PROPERTY_IS_LOCKED)
+ @JsonProperty(value = JSON_PROPERTY_IS_LOCKED, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsLocked(@javax.annotation.Nullable Boolean isLocked) {
this.isLocked = isLocked;
@@ -171,13 +171,13 @@ public AccountResponse isPaidHs(@javax.annotation.Nullable Boolean isPaidHs) {
*
* @return isPaidHs
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_PAID_HS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_IS_PAID_HS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getIsPaidHs() {
return isPaidHs;
}
- @JsonProperty(JSON_PROPERTY_IS_PAID_HS)
+ @JsonProperty(value = JSON_PROPERTY_IS_PAID_HS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsPaidHs(@javax.annotation.Nullable Boolean isPaidHs) {
this.isPaidHs = isPaidHs;
@@ -193,13 +193,13 @@ public AccountResponse isPaidHf(@javax.annotation.Nullable Boolean isPaidHf) {
*
* @return isPaidHf
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_PAID_HF)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_IS_PAID_HF, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getIsPaidHf() {
return isPaidHf;
}
- @JsonProperty(JSON_PROPERTY_IS_PAID_HF)
+ @JsonProperty(value = JSON_PROPERTY_IS_PAID_HF, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsPaidHf(@javax.annotation.Nullable Boolean isPaidHf) {
this.isPaidHf = isPaidHf;
@@ -215,13 +215,13 @@ public AccountResponse quotas(@javax.annotation.Nullable AccountResponseQuotas q
*
* @return quotas
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUOTAS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_QUOTAS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AccountResponseQuotas getQuotas() {
return quotas;
}
- @JsonProperty(JSON_PROPERTY_QUOTAS)
+ @JsonProperty(value = JSON_PROPERTY_QUOTAS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setQuotas(@javax.annotation.Nullable AccountResponseQuotas quotas) {
this.quotas = quotas;
@@ -237,13 +237,13 @@ public AccountResponse callbackUrl(@javax.annotation.Nullable String callbackUrl
*
* @return callbackUrl
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CALLBACK_URL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CALLBACK_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCallbackUrl() {
return callbackUrl;
}
- @JsonProperty(JSON_PROPERTY_CALLBACK_URL)
+ @JsonProperty(value = JSON_PROPERTY_CALLBACK_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCallbackUrl(@javax.annotation.Nullable String callbackUrl) {
this.callbackUrl = callbackUrl;
@@ -259,13 +259,13 @@ public AccountResponse roleCode(@javax.annotation.Nullable String roleCode) {
*
* @return roleCode
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ROLE_CODE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_ROLE_CODE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getRoleCode() {
return roleCode;
}
- @JsonProperty(JSON_PROPERTY_ROLE_CODE)
+ @JsonProperty(value = JSON_PROPERTY_ROLE_CODE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRoleCode(@javax.annotation.Nullable String roleCode) {
this.roleCode = roleCode;
@@ -281,13 +281,13 @@ public AccountResponse teamId(@javax.annotation.Nullable String teamId) {
*
* @return teamId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEAM_ID)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_TEAM_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTeamId() {
return teamId;
}
- @JsonProperty(JSON_PROPERTY_TEAM_ID)
+ @JsonProperty(value = JSON_PROPERTY_TEAM_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTeamId(@javax.annotation.Nullable String teamId) {
this.teamId = teamId;
@@ -305,13 +305,13 @@ public AccountResponse locale(@javax.annotation.Nullable String locale) {
*
* @return locale
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LOCALE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_LOCALE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLocale() {
return locale;
}
- @JsonProperty(JSON_PROPERTY_LOCALE)
+ @JsonProperty(value = JSON_PROPERTY_LOCALE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLocale(@javax.annotation.Nullable String locale) {
this.locale = locale;
@@ -327,13 +327,13 @@ public AccountResponse usage(@javax.annotation.Nullable AccountResponseUsage usa
*
* @return usage
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USAGE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_USAGE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AccountResponseUsage getUsage() {
return usage;
}
- @JsonProperty(JSON_PROPERTY_USAGE)
+ @JsonProperty(value = JSON_PROPERTY_USAGE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUsage(@javax.annotation.Nullable AccountResponseUsage usage) {
this.usage = usage;
@@ -349,13 +349,13 @@ public AccountResponse settings(@javax.annotation.Nullable AccountResponseSettin
*
* @return settings
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SETTINGS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SETTINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AccountResponseSettings getSettings() {
return settings;
}
- @JsonProperty(JSON_PROPERTY_SETTINGS)
+ @JsonProperty(value = JSON_PROPERTY_SETTINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSettings(@javax.annotation.Nullable AccountResponseSettings settings) {
this.settings = settings;
@@ -693,9 +693,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponseQuotas.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponseQuotas.java
index 9385b863c..c6d670a0f 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponseQuotas.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponseQuotas.java
@@ -34,7 +34,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountResponseQuotas {
public static final String JSON_PROPERTY_API_SIGNATURE_REQUESTS_LEFT =
@@ -84,13 +84,13 @@ public AccountResponseQuotas apiSignatureRequestsLeft(
*
* @return apiSignatureRequestsLeft
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_API_SIGNATURE_REQUESTS_LEFT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_API_SIGNATURE_REQUESTS_LEFT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getApiSignatureRequestsLeft() {
return apiSignatureRequestsLeft;
}
- @JsonProperty(JSON_PROPERTY_API_SIGNATURE_REQUESTS_LEFT)
+ @JsonProperty(value = JSON_PROPERTY_API_SIGNATURE_REQUESTS_LEFT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setApiSignatureRequestsLeft(
@javax.annotation.Nullable Integer apiSignatureRequestsLeft) {
@@ -107,13 +107,13 @@ public AccountResponseQuotas documentsLeft(@javax.annotation.Nullable Integer do
*
* @return documentsLeft
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOCUMENTS_LEFT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_DOCUMENTS_LEFT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getDocumentsLeft() {
return documentsLeft;
}
- @JsonProperty(JSON_PROPERTY_DOCUMENTS_LEFT)
+ @JsonProperty(value = JSON_PROPERTY_DOCUMENTS_LEFT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDocumentsLeft(@javax.annotation.Nullable Integer documentsLeft) {
this.documentsLeft = documentsLeft;
@@ -129,13 +129,13 @@ public AccountResponseQuotas templatesTotal(@javax.annotation.Nullable Integer t
*
* @return templatesTotal
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEMPLATES_TOTAL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_TEMPLATES_TOTAL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getTemplatesTotal() {
return templatesTotal;
}
- @JsonProperty(JSON_PROPERTY_TEMPLATES_TOTAL)
+ @JsonProperty(value = JSON_PROPERTY_TEMPLATES_TOTAL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTemplatesTotal(@javax.annotation.Nullable Integer templatesTotal) {
this.templatesTotal = templatesTotal;
@@ -151,13 +151,13 @@ public AccountResponseQuotas templatesLeft(@javax.annotation.Nullable Integer te
*
* @return templatesLeft
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEMPLATES_LEFT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_TEMPLATES_LEFT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getTemplatesLeft() {
return templatesLeft;
}
- @JsonProperty(JSON_PROPERTY_TEMPLATES_LEFT)
+ @JsonProperty(value = JSON_PROPERTY_TEMPLATES_LEFT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTemplatesLeft(@javax.annotation.Nullable Integer templatesLeft) {
this.templatesLeft = templatesLeft;
@@ -174,13 +174,13 @@ public AccountResponseQuotas smsVerificationsLeft(
*
* @return smsVerificationsLeft
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMS_VERIFICATIONS_LEFT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SMS_VERIFICATIONS_LEFT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getSmsVerificationsLeft() {
return smsVerificationsLeft;
}
- @JsonProperty(JSON_PROPERTY_SMS_VERIFICATIONS_LEFT)
+ @JsonProperty(value = JSON_PROPERTY_SMS_VERIFICATIONS_LEFT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSmsVerificationsLeft(@javax.annotation.Nullable Integer smsVerificationsLeft) {
this.smsVerificationsLeft = smsVerificationsLeft;
@@ -197,13 +197,13 @@ public AccountResponseQuotas numFaxPagesLeft(
*
* @return numFaxPagesLeft
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NUM_FAX_PAGES_LEFT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_NUM_FAX_PAGES_LEFT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getNumFaxPagesLeft() {
return numFaxPagesLeft;
}
- @JsonProperty(JSON_PROPERTY_NUM_FAX_PAGES_LEFT)
+ @JsonProperty(value = JSON_PROPERTY_NUM_FAX_PAGES_LEFT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNumFaxPagesLeft(@javax.annotation.Nullable Integer numFaxPagesLeft) {
this.numFaxPagesLeft = numFaxPagesLeft;
@@ -426,9 +426,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponseSettings.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponseSettings.java
index 1f43c1d3a..e34628cec 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponseSettings.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponseSettings.java
@@ -31,7 +31,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountResponseSettings {
public static final String JSON_PROPERTY_SIGNER_ACCESS_CODES = "signer_access_codes";
@@ -72,13 +72,13 @@ public AccountResponseSettings signerAccessCodes(
*
* @return signerAccessCodes
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIGNER_ACCESS_CODES)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SIGNER_ACCESS_CODES, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getSignerAccessCodes() {
return signerAccessCodes;
}
- @JsonProperty(JSON_PROPERTY_SIGNER_ACCESS_CODES)
+ @JsonProperty(value = JSON_PROPERTY_SIGNER_ACCESS_CODES, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSignerAccessCodes(@javax.annotation.Nullable Boolean signerAccessCodes) {
this.signerAccessCodes = signerAccessCodes;
@@ -95,13 +95,13 @@ public AccountResponseSettings smsDelivery(@javax.annotation.Nullable Boolean sm
*
* @return smsDelivery
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMS_DELIVERY)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SMS_DELIVERY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getSmsDelivery() {
return smsDelivery;
}
- @JsonProperty(JSON_PROPERTY_SMS_DELIVERY)
+ @JsonProperty(value = JSON_PROPERTY_SMS_DELIVERY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSmsDelivery(@javax.annotation.Nullable Boolean smsDelivery) {
this.smsDelivery = smsDelivery;
@@ -119,13 +119,13 @@ public AccountResponseSettings smsAuthentication(
*
* @return smsAuthentication
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMS_AUTHENTICATION)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SMS_AUTHENTICATION, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getSmsAuthentication() {
return smsAuthentication;
}
- @JsonProperty(JSON_PROPERTY_SMS_AUTHENTICATION)
+ @JsonProperty(value = JSON_PROPERTY_SMS_AUTHENTICATION, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSmsAuthentication(@javax.annotation.Nullable Boolean smsAuthentication) {
this.smsAuthentication = smsAuthentication;
@@ -270,9 +270,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponseUsage.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponseUsage.java
index 7906498fe..46ed438c6 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponseUsage.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountResponseUsage.java
@@ -27,7 +27,7 @@
@JsonPropertyOrder({AccountResponseUsage.JSON_PROPERTY_FAX_PAGES_SENT})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountResponseUsage {
public static final String JSON_PROPERTY_FAX_PAGES_SENT = "fax_pages_sent";
@@ -59,13 +59,13 @@ public AccountResponseUsage faxPagesSent(@javax.annotation.Nullable Integer faxP
*
* @return faxPagesSent
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FAX_PAGES_SENT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_FAX_PAGES_SENT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getFaxPagesSent() {
return faxPagesSent;
}
- @JsonProperty(JSON_PROPERTY_FAX_PAGES_SENT)
+ @JsonProperty(value = JSON_PROPERTY_FAX_PAGES_SENT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFaxPagesSent(@javax.annotation.Nullable Integer faxPagesSent) {
this.faxPagesSent = faxPagesSent;
@@ -159,9 +159,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountUpdateRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountUpdateRequest.java
index 547051d2a..c7b9e8a46 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountUpdateRequest.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountUpdateRequest.java
@@ -31,7 +31,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountUpdateRequest {
public static final String JSON_PROPERTY_ACCOUNT_ID = "account_id";
@@ -69,13 +69,13 @@ public AccountUpdateRequest accountId(@javax.annotation.Nullable String accountI
*
* @return accountId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_ACCOUNT_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAccountId() {
return accountId;
}
- @JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAccountId(@javax.annotation.Nullable String accountId) {
this.accountId = accountId;
@@ -91,13 +91,13 @@ public AccountUpdateRequest callbackUrl(@javax.annotation.Nullable String callba
*
* @return callbackUrl
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CALLBACK_URL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CALLBACK_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCallbackUrl() {
return callbackUrl;
}
- @JsonProperty(JSON_PROPERTY_CALLBACK_URL)
+ @JsonProperty(value = JSON_PROPERTY_CALLBACK_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCallbackUrl(@javax.annotation.Nullable String callbackUrl) {
this.callbackUrl = callbackUrl;
@@ -115,13 +115,13 @@ public AccountUpdateRequest locale(@javax.annotation.Nullable String locale) {
*
* @return locale
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LOCALE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_LOCALE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLocale() {
return locale;
}
- @JsonProperty(JSON_PROPERTY_LOCALE)
+ @JsonProperty(value = JSON_PROPERTY_LOCALE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLocale(@javax.annotation.Nullable String locale) {
this.locale = locale;
@@ -257,9 +257,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountVerifyRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountVerifyRequest.java
index d484b5052..8ece1af0e 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountVerifyRequest.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountVerifyRequest.java
@@ -27,7 +27,7 @@
@JsonPropertyOrder({AccountVerifyRequest.JSON_PROPERTY_EMAIL_ADDRESS})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountVerifyRequest {
public static final String JSON_PROPERTY_EMAIL_ADDRESS = "email_address";
@@ -60,13 +60,13 @@ public AccountVerifyRequest emailAddress(@javax.annotation.Nonnull String emailA
* @return emailAddress
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @JsonProperty(value = JSON_PROPERTY_EMAIL_ADDRESS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getEmailAddress() {
return emailAddress;
}
- @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @JsonProperty(value = JSON_PROPERTY_EMAIL_ADDRESS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEmailAddress(@javax.annotation.Nonnull String emailAddress) {
this.emailAddress = emailAddress;
@@ -160,9 +160,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountVerifyResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountVerifyResponse.java
index d5b7c64bb..c8c8f23ca 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountVerifyResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountVerifyResponse.java
@@ -32,7 +32,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountVerifyResponse {
public static final String JSON_PROPERTY_ACCOUNT = "account";
@@ -69,13 +69,13 @@ public AccountVerifyResponse account(
*
* @return account
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ACCOUNT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_ACCOUNT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AccountVerifyResponseAccount getAccount() {
return account;
}
- @JsonProperty(JSON_PROPERTY_ACCOUNT)
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAccount(@javax.annotation.Nullable AccountVerifyResponseAccount account) {
this.account = account;
@@ -100,13 +100,13 @@ public AccountVerifyResponse addWarningsItem(WarningResponse warningsItem) {
*
* @return warnings
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getWarnings() {
return warnings;
}
- @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWarnings(@javax.annotation.Nullable List warnings) {
this.warnings = warnings;
@@ -218,9 +218,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountVerifyResponseAccount.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountVerifyResponseAccount.java
index e8002ca39..86919fade 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountVerifyResponseAccount.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/AccountVerifyResponseAccount.java
@@ -27,7 +27,7 @@
@JsonPropertyOrder({AccountVerifyResponseAccount.JSON_PROPERTY_EMAIL_ADDRESS})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccountVerifyResponseAccount {
public static final String JSON_PROPERTY_EMAIL_ADDRESS = "email_address";
@@ -62,13 +62,13 @@ public AccountVerifyResponseAccount emailAddress(
*
* @return emailAddress
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_EMAIL_ADDRESS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEmailAddress() {
return emailAddress;
}
- @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @JsonProperty(value = JSON_PROPERTY_EMAIL_ADDRESS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEmailAddress(@javax.annotation.Nullable String emailAddress) {
this.emailAddress = emailAddress;
@@ -163,9 +163,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppCreateRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppCreateRequest.java
index 40e1c9482..fe882d448 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppCreateRequest.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppCreateRequest.java
@@ -38,7 +38,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiAppCreateRequest {
public static final String JSON_PROPERTY_DOMAINS = "domains";
@@ -97,13 +97,13 @@ public ApiAppCreateRequest addDomainsItem(String domainsItem) {
* @return domains
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_DOMAINS)
+ @JsonProperty(value = JSON_PROPERTY_DOMAINS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getDomains() {
return domains;
}
- @JsonProperty(JSON_PROPERTY_DOMAINS)
+ @JsonProperty(value = JSON_PROPERTY_DOMAINS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDomains(@javax.annotation.Nonnull List domains) {
this.domains = domains;
@@ -120,13 +120,13 @@ public ApiAppCreateRequest name(@javax.annotation.Nonnull String name) {
* @return name
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_NAME)
+ @JsonProperty(value = JSON_PROPERTY_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
- @JsonProperty(JSON_PROPERTY_NAME)
+ @JsonProperty(value = JSON_PROPERTY_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(@javax.annotation.Nonnull String name) {
this.name = name;
@@ -142,13 +142,13 @@ public ApiAppCreateRequest callbackUrl(@javax.annotation.Nullable String callbac
*
* @return callbackUrl
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CALLBACK_URL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CALLBACK_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCallbackUrl() {
return callbackUrl;
}
- @JsonProperty(JSON_PROPERTY_CALLBACK_URL)
+ @JsonProperty(value = JSON_PROPERTY_CALLBACK_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCallbackUrl(@javax.annotation.Nullable String callbackUrl) {
this.callbackUrl = callbackUrl;
@@ -164,13 +164,13 @@ public ApiAppCreateRequest customLogoFile(@javax.annotation.Nullable File custom
*
* @return customLogoFile
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CUSTOM_LOGO_FILE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CUSTOM_LOGO_FILE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public File getCustomLogoFile() {
return customLogoFile;
}
- @JsonProperty(JSON_PROPERTY_CUSTOM_LOGO_FILE)
+ @JsonProperty(value = JSON_PROPERTY_CUSTOM_LOGO_FILE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCustomLogoFile(@javax.annotation.Nullable File customLogoFile) {
this.customLogoFile = customLogoFile;
@@ -186,13 +186,13 @@ public ApiAppCreateRequest oauth(@javax.annotation.Nullable SubOAuth oauth) {
*
* @return oauth
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OAUTH)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_OAUTH, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public SubOAuth getOauth() {
return oauth;
}
- @JsonProperty(JSON_PROPERTY_OAUTH)
+ @JsonProperty(value = JSON_PROPERTY_OAUTH, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOauth(@javax.annotation.Nullable SubOAuth oauth) {
this.oauth = oauth;
@@ -208,13 +208,13 @@ public ApiAppCreateRequest options(@javax.annotation.Nullable SubOptions options
*
* @return options
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OPTIONS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_OPTIONS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public SubOptions getOptions() {
return options;
}
- @JsonProperty(JSON_PROPERTY_OPTIONS)
+ @JsonProperty(value = JSON_PROPERTY_OPTIONS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOptions(@javax.annotation.Nullable SubOptions options) {
this.options = options;
@@ -231,13 +231,13 @@ public ApiAppCreateRequest whiteLabelingOptions(
*
* @return whiteLabelingOptions
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WHITE_LABELING_OPTIONS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_WHITE_LABELING_OPTIONS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public SubWhiteLabelingOptions getWhiteLabelingOptions() {
return whiteLabelingOptions;
}
- @JsonProperty(JSON_PROPERTY_WHITE_LABELING_OPTIONS)
+ @JsonProperty(value = JSON_PROPERTY_WHITE_LABELING_OPTIONS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWhiteLabelingOptions(
@javax.annotation.Nullable SubWhiteLabelingOptions whiteLabelingOptions) {
@@ -462,9 +462,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppGetResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppGetResponse.java
index 54ce2c4bb..a079be4f2 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppGetResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppGetResponse.java
@@ -32,7 +32,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiAppGetResponse {
public static final String JSON_PROPERTY_API_APP = "api_app";
@@ -68,13 +68,13 @@ public ApiAppGetResponse apiApp(@javax.annotation.Nonnull ApiAppResponse apiApp)
* @return apiApp
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_API_APP)
+ @JsonProperty(value = JSON_PROPERTY_API_APP, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public ApiAppResponse getApiApp() {
return apiApp;
}
- @JsonProperty(JSON_PROPERTY_API_APP)
+ @JsonProperty(value = JSON_PROPERTY_API_APP, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setApiApp(@javax.annotation.Nonnull ApiAppResponse apiApp) {
this.apiApp = apiApp;
@@ -98,13 +98,13 @@ public ApiAppGetResponse addWarningsItem(WarningResponse warningsItem) {
*
* @return warnings
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getWarnings() {
return warnings;
}
- @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWarnings(@javax.annotation.Nullable List warnings) {
this.warnings = warnings;
@@ -216,9 +216,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppListResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppListResponse.java
index 8a50aef37..552c79e8e 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppListResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppListResponse.java
@@ -33,7 +33,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiAppListResponse {
public static final String JSON_PROPERTY_API_APPS = "api_apps";
@@ -80,13 +80,13 @@ public ApiAppListResponse addApiAppsItem(ApiAppResponse apiAppsItem) {
* @return apiApps
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_API_APPS)
+ @JsonProperty(value = JSON_PROPERTY_API_APPS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getApiApps() {
return apiApps;
}
- @JsonProperty(JSON_PROPERTY_API_APPS)
+ @JsonProperty(value = JSON_PROPERTY_API_APPS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setApiApps(@javax.annotation.Nonnull List apiApps) {
this.apiApps = apiApps;
@@ -103,13 +103,13 @@ public ApiAppListResponse listInfo(@javax.annotation.Nonnull ListInfoResponse li
* @return listInfo
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_LIST_INFO)
+ @JsonProperty(value = JSON_PROPERTY_LIST_INFO, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public ListInfoResponse getListInfo() {
return listInfo;
}
- @JsonProperty(JSON_PROPERTY_LIST_INFO)
+ @JsonProperty(value = JSON_PROPERTY_LIST_INFO, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setListInfo(@javax.annotation.Nonnull ListInfoResponse listInfo) {
this.listInfo = listInfo;
@@ -133,13 +133,13 @@ public ApiAppListResponse addWarningsItem(WarningResponse warningsItem) {
*
* @return warnings
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getWarnings() {
return warnings;
}
- @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWarnings(@javax.annotation.Nullable List warnings) {
this.warnings = warnings;
@@ -273,9 +273,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponse.java
index 913a1e2c3..27af3a6de 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponse.java
@@ -40,7 +40,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiAppResponse {
public static final String JSON_PROPERTY_CALLBACK_URL = "callback_url";
@@ -99,13 +99,13 @@ public ApiAppResponse callbackUrl(@javax.annotation.Nullable String callbackUrl)
*
* @return callbackUrl
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CALLBACK_URL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CALLBACK_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCallbackUrl() {
return callbackUrl;
}
- @JsonProperty(JSON_PROPERTY_CALLBACK_URL)
+ @JsonProperty(value = JSON_PROPERTY_CALLBACK_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCallbackUrl(@javax.annotation.Nullable String callbackUrl) {
this.callbackUrl = callbackUrl;
@@ -121,13 +121,13 @@ public ApiAppResponse clientId(@javax.annotation.Nullable String clientId) {
*
* @return clientId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT_ID)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CLIENT_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getClientId() {
return clientId;
}
- @JsonProperty(JSON_PROPERTY_CLIENT_ID)
+ @JsonProperty(value = JSON_PROPERTY_CLIENT_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setClientId(@javax.annotation.Nullable String clientId) {
this.clientId = clientId;
@@ -143,13 +143,13 @@ public ApiAppResponse createdAt(@javax.annotation.Nullable Integer createdAt) {
*
* @return createdAt
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CREATED_AT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CREATED_AT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getCreatedAt() {
return createdAt;
}
- @JsonProperty(JSON_PROPERTY_CREATED_AT)
+ @JsonProperty(value = JSON_PROPERTY_CREATED_AT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCreatedAt(@javax.annotation.Nullable Integer createdAt) {
this.createdAt = createdAt;
@@ -173,13 +173,13 @@ public ApiAppResponse addDomainsItem(String domainsItem) {
*
* @return domains
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOMAINS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_DOMAINS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getDomains() {
return domains;
}
- @JsonProperty(JSON_PROPERTY_DOMAINS)
+ @JsonProperty(value = JSON_PROPERTY_DOMAINS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDomains(@javax.annotation.Nullable List domains) {
this.domains = domains;
@@ -195,13 +195,13 @@ public ApiAppResponse name(@javax.annotation.Nullable String name) {
*
* @return name
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
}
- @JsonProperty(JSON_PROPERTY_NAME)
+ @JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(@javax.annotation.Nullable String name) {
this.name = name;
@@ -217,13 +217,13 @@ public ApiAppResponse isApproved(@javax.annotation.Nullable Boolean isApproved)
*
* @return isApproved
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_APPROVED)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_IS_APPROVED, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getIsApproved() {
return isApproved;
}
- @JsonProperty(JSON_PROPERTY_IS_APPROVED)
+ @JsonProperty(value = JSON_PROPERTY_IS_APPROVED, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsApproved(@javax.annotation.Nullable Boolean isApproved) {
this.isApproved = isApproved;
@@ -239,13 +239,13 @@ public ApiAppResponse oauth(@javax.annotation.Nullable ApiAppResponseOAuth oauth
*
* @return oauth
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OAUTH)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_OAUTH, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ApiAppResponseOAuth getOauth() {
return oauth;
}
- @JsonProperty(JSON_PROPERTY_OAUTH)
+ @JsonProperty(value = JSON_PROPERTY_OAUTH, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOauth(@javax.annotation.Nullable ApiAppResponseOAuth oauth) {
this.oauth = oauth;
@@ -261,13 +261,13 @@ public ApiAppResponse options(@javax.annotation.Nullable ApiAppResponseOptions o
*
* @return options
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OPTIONS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_OPTIONS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ApiAppResponseOptions getOptions() {
return options;
}
- @JsonProperty(JSON_PROPERTY_OPTIONS)
+ @JsonProperty(value = JSON_PROPERTY_OPTIONS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOptions(@javax.annotation.Nullable ApiAppResponseOptions options) {
this.options = options;
@@ -284,13 +284,13 @@ public ApiAppResponse ownerAccount(
*
* @return ownerAccount
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OWNER_ACCOUNT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_OWNER_ACCOUNT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ApiAppResponseOwnerAccount getOwnerAccount() {
return ownerAccount;
}
- @JsonProperty(JSON_PROPERTY_OWNER_ACCOUNT)
+ @JsonProperty(value = JSON_PROPERTY_OWNER_ACCOUNT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOwnerAccount(
@javax.annotation.Nullable ApiAppResponseOwnerAccount ownerAccount) {
@@ -308,13 +308,13 @@ public ApiAppResponse whiteLabelingOptions(
*
* @return whiteLabelingOptions
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WHITE_LABELING_OPTIONS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_WHITE_LABELING_OPTIONS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ApiAppResponseWhiteLabelingOptions getWhiteLabelingOptions() {
return whiteLabelingOptions;
}
- @JsonProperty(JSON_PROPERTY_WHITE_LABELING_OPTIONS)
+ @JsonProperty(value = JSON_PROPERTY_WHITE_LABELING_OPTIONS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWhiteLabelingOptions(
@javax.annotation.Nullable ApiAppResponseWhiteLabelingOptions whiteLabelingOptions) {
@@ -613,9 +613,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseOAuth.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseOAuth.java
index daf3f0826..fda07c500 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseOAuth.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseOAuth.java
@@ -37,7 +37,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiAppResponseOAuth {
public static final String JSON_PROPERTY_CALLBACK_URL = "callback_url";
@@ -78,13 +78,13 @@ public ApiAppResponseOAuth callbackUrl(@javax.annotation.Nullable String callbac
*
* @return callbackUrl
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CALLBACK_URL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CALLBACK_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCallbackUrl() {
return callbackUrl;
}
- @JsonProperty(JSON_PROPERTY_CALLBACK_URL)
+ @JsonProperty(value = JSON_PROPERTY_CALLBACK_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCallbackUrl(@javax.annotation.Nullable String callbackUrl) {
this.callbackUrl = callbackUrl;
@@ -100,13 +100,13 @@ public ApiAppResponseOAuth secret(@javax.annotation.Nullable String secret) {
*
* @return secret
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SECRET)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SECRET, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSecret() {
return secret;
}
- @JsonProperty(JSON_PROPERTY_SECRET)
+ @JsonProperty(value = JSON_PROPERTY_SECRET, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSecret(@javax.annotation.Nullable String secret) {
this.secret = secret;
@@ -130,13 +130,13 @@ public ApiAppResponseOAuth addScopesItem(String scopesItem) {
*
* @return scopes
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SCOPES)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SCOPES, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getScopes() {
return scopes;
}
- @JsonProperty(JSON_PROPERTY_SCOPES)
+ @JsonProperty(value = JSON_PROPERTY_SCOPES, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setScopes(@javax.annotation.Nullable List scopes) {
this.scopes = scopes;
@@ -153,13 +153,13 @@ public ApiAppResponseOAuth chargesUsers(@javax.annotation.Nullable Boolean charg
*
* @return chargesUsers
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CHARGES_USERS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CHARGES_USERS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getChargesUsers() {
return chargesUsers;
}
- @JsonProperty(JSON_PROPERTY_CHARGES_USERS)
+ @JsonProperty(value = JSON_PROPERTY_CHARGES_USERS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setChargesUsers(@javax.annotation.Nullable Boolean chargesUsers) {
this.chargesUsers = chargesUsers;
@@ -315,9 +315,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseOptions.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseOptions.java
index ace145fa9..7d402aa26 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseOptions.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseOptions.java
@@ -27,7 +27,7 @@
@JsonPropertyOrder({ApiAppResponseOptions.JSON_PROPERTY_CAN_INSERT_EVERYWHERE})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiAppResponseOptions {
public static final String JSON_PROPERTY_CAN_INSERT_EVERYWHERE = "can_insert_everywhere";
@@ -62,13 +62,13 @@ public ApiAppResponseOptions canInsertEverywhere(
*
* @return canInsertEverywhere
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAN_INSERT_EVERYWHERE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CAN_INSERT_EVERYWHERE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getCanInsertEverywhere() {
return canInsertEverywhere;
}
- @JsonProperty(JSON_PROPERTY_CAN_INSERT_EVERYWHERE)
+ @JsonProperty(value = JSON_PROPERTY_CAN_INSERT_EVERYWHERE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCanInsertEverywhere(@javax.annotation.Nullable Boolean canInsertEverywhere) {
this.canInsertEverywhere = canInsertEverywhere;
@@ -166,9 +166,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseOwnerAccount.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseOwnerAccount.java
index de840b202..a7b888277 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseOwnerAccount.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseOwnerAccount.java
@@ -30,7 +30,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiAppResponseOwnerAccount {
public static final String JSON_PROPERTY_ACCOUNT_ID = "account_id";
@@ -67,13 +67,13 @@ public ApiAppResponseOwnerAccount accountId(@javax.annotation.Nullable String ac
*
* @return accountId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_ACCOUNT_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAccountId() {
return accountId;
}
- @JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAccountId(@javax.annotation.Nullable String accountId) {
this.accountId = accountId;
@@ -89,13 +89,13 @@ public ApiAppResponseOwnerAccount emailAddress(@javax.annotation.Nullable String
*
* @return emailAddress
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_EMAIL_ADDRESS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEmailAddress() {
return emailAddress;
}
- @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @JsonProperty(value = JSON_PROPERTY_EMAIL_ADDRESS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEmailAddress(@javax.annotation.Nullable String emailAddress) {
this.emailAddress = emailAddress;
@@ -211,9 +211,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseWhiteLabelingOptions.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseWhiteLabelingOptions.java
index ae9441e24..5266ccb87 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseWhiteLabelingOptions.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppResponseWhiteLabelingOptions.java
@@ -42,7 +42,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiAppResponseWhiteLabelingOptions {
public static final String JSON_PROPERTY_HEADER_BACKGROUND_COLOR = "header_background_color";
@@ -122,13 +122,13 @@ public ApiAppResponseWhiteLabelingOptions headerBackgroundColor(
*
* @return headerBackgroundColor
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_HEADER_BACKGROUND_COLOR)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_HEADER_BACKGROUND_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getHeaderBackgroundColor() {
return headerBackgroundColor;
}
- @JsonProperty(JSON_PROPERTY_HEADER_BACKGROUND_COLOR)
+ @JsonProperty(value = JSON_PROPERTY_HEADER_BACKGROUND_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHeaderBackgroundColor(@javax.annotation.Nullable String headerBackgroundColor) {
this.headerBackgroundColor = headerBackgroundColor;
@@ -145,13 +145,13 @@ public ApiAppResponseWhiteLabelingOptions legalVersion(
*
* @return legalVersion
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LEGAL_VERSION)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_LEGAL_VERSION, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLegalVersion() {
return legalVersion;
}
- @JsonProperty(JSON_PROPERTY_LEGAL_VERSION)
+ @JsonProperty(value = JSON_PROPERTY_LEGAL_VERSION, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLegalVersion(@javax.annotation.Nullable String legalVersion) {
this.legalVersion = legalVersion;
@@ -168,13 +168,13 @@ public ApiAppResponseWhiteLabelingOptions linkColor(
*
* @return linkColor
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LINK_COLOR)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_LINK_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLinkColor() {
return linkColor;
}
- @JsonProperty(JSON_PROPERTY_LINK_COLOR)
+ @JsonProperty(value = JSON_PROPERTY_LINK_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLinkColor(@javax.annotation.Nullable String linkColor) {
this.linkColor = linkColor;
@@ -191,13 +191,13 @@ public ApiAppResponseWhiteLabelingOptions pageBackgroundColor(
*
* @return pageBackgroundColor
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PAGE_BACKGROUND_COLOR)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_PAGE_BACKGROUND_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPageBackgroundColor() {
return pageBackgroundColor;
}
- @JsonProperty(JSON_PROPERTY_PAGE_BACKGROUND_COLOR)
+ @JsonProperty(value = JSON_PROPERTY_PAGE_BACKGROUND_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPageBackgroundColor(@javax.annotation.Nullable String pageBackgroundColor) {
this.pageBackgroundColor = pageBackgroundColor;
@@ -214,13 +214,13 @@ public ApiAppResponseWhiteLabelingOptions primaryButtonColor(
*
* @return primaryButtonColor
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PRIMARY_BUTTON_COLOR)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_PRIMARY_BUTTON_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPrimaryButtonColor() {
return primaryButtonColor;
}
- @JsonProperty(JSON_PROPERTY_PRIMARY_BUTTON_COLOR)
+ @JsonProperty(value = JSON_PROPERTY_PRIMARY_BUTTON_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrimaryButtonColor(@javax.annotation.Nullable String primaryButtonColor) {
this.primaryButtonColor = primaryButtonColor;
@@ -237,13 +237,13 @@ public ApiAppResponseWhiteLabelingOptions primaryButtonColorHover(
*
* @return primaryButtonColorHover
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PRIMARY_BUTTON_COLOR_HOVER)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_PRIMARY_BUTTON_COLOR_HOVER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPrimaryButtonColorHover() {
return primaryButtonColorHover;
}
- @JsonProperty(JSON_PROPERTY_PRIMARY_BUTTON_COLOR_HOVER)
+ @JsonProperty(value = JSON_PROPERTY_PRIMARY_BUTTON_COLOR_HOVER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrimaryButtonColorHover(
@javax.annotation.Nullable String primaryButtonColorHover) {
@@ -261,13 +261,13 @@ public ApiAppResponseWhiteLabelingOptions primaryButtonTextColor(
*
* @return primaryButtonTextColor
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PRIMARY_BUTTON_TEXT_COLOR)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_PRIMARY_BUTTON_TEXT_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPrimaryButtonTextColor() {
return primaryButtonTextColor;
}
- @JsonProperty(JSON_PROPERTY_PRIMARY_BUTTON_TEXT_COLOR)
+ @JsonProperty(value = JSON_PROPERTY_PRIMARY_BUTTON_TEXT_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrimaryButtonTextColor(
@javax.annotation.Nullable String primaryButtonTextColor) {
@@ -285,13 +285,13 @@ public ApiAppResponseWhiteLabelingOptions primaryButtonTextColorHover(
*
* @return primaryButtonTextColorHover
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PRIMARY_BUTTON_TEXT_COLOR_HOVER)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_PRIMARY_BUTTON_TEXT_COLOR_HOVER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPrimaryButtonTextColorHover() {
return primaryButtonTextColorHover;
}
- @JsonProperty(JSON_PROPERTY_PRIMARY_BUTTON_TEXT_COLOR_HOVER)
+ @JsonProperty(value = JSON_PROPERTY_PRIMARY_BUTTON_TEXT_COLOR_HOVER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrimaryButtonTextColorHover(
@javax.annotation.Nullable String primaryButtonTextColorHover) {
@@ -309,13 +309,13 @@ public ApiAppResponseWhiteLabelingOptions secondaryButtonColor(
*
* @return secondaryButtonColor
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SECONDARY_BUTTON_COLOR)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SECONDARY_BUTTON_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSecondaryButtonColor() {
return secondaryButtonColor;
}
- @JsonProperty(JSON_PROPERTY_SECONDARY_BUTTON_COLOR)
+ @JsonProperty(value = JSON_PROPERTY_SECONDARY_BUTTON_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSecondaryButtonColor(@javax.annotation.Nullable String secondaryButtonColor) {
this.secondaryButtonColor = secondaryButtonColor;
@@ -332,13 +332,13 @@ public ApiAppResponseWhiteLabelingOptions secondaryButtonColorHover(
*
* @return secondaryButtonColorHover
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SECONDARY_BUTTON_COLOR_HOVER)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SECONDARY_BUTTON_COLOR_HOVER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSecondaryButtonColorHover() {
return secondaryButtonColorHover;
}
- @JsonProperty(JSON_PROPERTY_SECONDARY_BUTTON_COLOR_HOVER)
+ @JsonProperty(value = JSON_PROPERTY_SECONDARY_BUTTON_COLOR_HOVER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSecondaryButtonColorHover(
@javax.annotation.Nullable String secondaryButtonColorHover) {
@@ -356,13 +356,13 @@ public ApiAppResponseWhiteLabelingOptions secondaryButtonTextColor(
*
* @return secondaryButtonTextColor
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SECONDARY_BUTTON_TEXT_COLOR)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SECONDARY_BUTTON_TEXT_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSecondaryButtonTextColor() {
return secondaryButtonTextColor;
}
- @JsonProperty(JSON_PROPERTY_SECONDARY_BUTTON_TEXT_COLOR)
+ @JsonProperty(value = JSON_PROPERTY_SECONDARY_BUTTON_TEXT_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSecondaryButtonTextColor(
@javax.annotation.Nullable String secondaryButtonTextColor) {
@@ -380,13 +380,13 @@ public ApiAppResponseWhiteLabelingOptions secondaryButtonTextColorHover(
*
* @return secondaryButtonTextColorHover
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SECONDARY_BUTTON_TEXT_COLOR_HOVER)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SECONDARY_BUTTON_TEXT_COLOR_HOVER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSecondaryButtonTextColorHover() {
return secondaryButtonTextColorHover;
}
- @JsonProperty(JSON_PROPERTY_SECONDARY_BUTTON_TEXT_COLOR_HOVER)
+ @JsonProperty(value = JSON_PROPERTY_SECONDARY_BUTTON_TEXT_COLOR_HOVER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSecondaryButtonTextColorHover(
@javax.annotation.Nullable String secondaryButtonTextColorHover) {
@@ -404,13 +404,13 @@ public ApiAppResponseWhiteLabelingOptions textColor1(
*
* @return textColor1
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEXT_COLOR1)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_TEXT_COLOR1, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTextColor1() {
return textColor1;
}
- @JsonProperty(JSON_PROPERTY_TEXT_COLOR1)
+ @JsonProperty(value = JSON_PROPERTY_TEXT_COLOR1, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTextColor1(@javax.annotation.Nullable String textColor1) {
this.textColor1 = textColor1;
@@ -427,13 +427,13 @@ public ApiAppResponseWhiteLabelingOptions textColor2(
*
* @return textColor2
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEXT_COLOR2)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_TEXT_COLOR2, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTextColor2() {
return textColor2;
}
- @JsonProperty(JSON_PROPERTY_TEXT_COLOR2)
+ @JsonProperty(value = JSON_PROPERTY_TEXT_COLOR2, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTextColor2(@javax.annotation.Nullable String textColor2) {
this.textColor2 = textColor2;
@@ -903,9 +903,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppUpdateRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppUpdateRequest.java
index a27dfcd8c..fb0b100d0 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppUpdateRequest.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ApiAppUpdateRequest.java
@@ -38,7 +38,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiAppUpdateRequest {
public static final String JSON_PROPERTY_CALLBACK_URL = "callback_url";
@@ -88,13 +88,13 @@ public ApiAppUpdateRequest callbackUrl(@javax.annotation.Nullable String callbac
*
* @return callbackUrl
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CALLBACK_URL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CALLBACK_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCallbackUrl() {
return callbackUrl;
}
- @JsonProperty(JSON_PROPERTY_CALLBACK_URL)
+ @JsonProperty(value = JSON_PROPERTY_CALLBACK_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCallbackUrl(@javax.annotation.Nullable String callbackUrl) {
this.callbackUrl = callbackUrl;
@@ -110,13 +110,13 @@ public ApiAppUpdateRequest customLogoFile(@javax.annotation.Nullable File custom
*
* @return customLogoFile
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CUSTOM_LOGO_FILE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CUSTOM_LOGO_FILE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public File getCustomLogoFile() {
return customLogoFile;
}
- @JsonProperty(JSON_PROPERTY_CUSTOM_LOGO_FILE)
+ @JsonProperty(value = JSON_PROPERTY_CUSTOM_LOGO_FILE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCustomLogoFile(@javax.annotation.Nullable File customLogoFile) {
this.customLogoFile = customLogoFile;
@@ -140,13 +140,13 @@ public ApiAppUpdateRequest addDomainsItem(String domainsItem) {
*
* @return domains
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOMAINS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_DOMAINS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getDomains() {
return domains;
}
- @JsonProperty(JSON_PROPERTY_DOMAINS)
+ @JsonProperty(value = JSON_PROPERTY_DOMAINS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDomains(@javax.annotation.Nullable List domains) {
this.domains = domains;
@@ -162,13 +162,13 @@ public ApiAppUpdateRequest name(@javax.annotation.Nullable String name) {
*
* @return name
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
}
- @JsonProperty(JSON_PROPERTY_NAME)
+ @JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(@javax.annotation.Nullable String name) {
this.name = name;
@@ -184,13 +184,13 @@ public ApiAppUpdateRequest oauth(@javax.annotation.Nullable SubOAuth oauth) {
*
* @return oauth
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OAUTH)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_OAUTH, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public SubOAuth getOauth() {
return oauth;
}
- @JsonProperty(JSON_PROPERTY_OAUTH)
+ @JsonProperty(value = JSON_PROPERTY_OAUTH, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOauth(@javax.annotation.Nullable SubOAuth oauth) {
this.oauth = oauth;
@@ -206,13 +206,13 @@ public ApiAppUpdateRequest options(@javax.annotation.Nullable SubOptions options
*
* @return options
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OPTIONS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_OPTIONS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public SubOptions getOptions() {
return options;
}
- @JsonProperty(JSON_PROPERTY_OPTIONS)
+ @JsonProperty(value = JSON_PROPERTY_OPTIONS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOptions(@javax.annotation.Nullable SubOptions options) {
this.options = options;
@@ -229,13 +229,13 @@ public ApiAppUpdateRequest whiteLabelingOptions(
*
* @return whiteLabelingOptions
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WHITE_LABELING_OPTIONS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_WHITE_LABELING_OPTIONS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public SubWhiteLabelingOptions getWhiteLabelingOptions() {
return whiteLabelingOptions;
}
- @JsonProperty(JSON_PROPERTY_WHITE_LABELING_OPTIONS)
+ @JsonProperty(value = JSON_PROPERTY_WHITE_LABELING_OPTIONS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWhiteLabelingOptions(
@javax.annotation.Nullable SubWhiteLabelingOptions whiteLabelingOptions) {
@@ -460,9 +460,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobGetResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobGetResponse.java
index 80ade2f0d..904123123 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobGetResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobGetResponse.java
@@ -34,7 +34,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class BulkSendJobGetResponse {
public static final String JSON_PROPERTY_BULK_SEND_JOB = "bulk_send_job";
@@ -80,13 +80,13 @@ public BulkSendJobGetResponse bulkSendJob(
* @return bulkSendJob
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_BULK_SEND_JOB)
+ @JsonProperty(value = JSON_PROPERTY_BULK_SEND_JOB, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public BulkSendJobResponse getBulkSendJob() {
return bulkSendJob;
}
- @JsonProperty(JSON_PROPERTY_BULK_SEND_JOB)
+ @JsonProperty(value = JSON_PROPERTY_BULK_SEND_JOB, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setBulkSendJob(@javax.annotation.Nonnull BulkSendJobResponse bulkSendJob) {
this.bulkSendJob = bulkSendJob;
@@ -103,13 +103,13 @@ public BulkSendJobGetResponse listInfo(@javax.annotation.Nonnull ListInfoRespons
* @return listInfo
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_LIST_INFO)
+ @JsonProperty(value = JSON_PROPERTY_LIST_INFO, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public ListInfoResponse getListInfo() {
return listInfo;
}
- @JsonProperty(JSON_PROPERTY_LIST_INFO)
+ @JsonProperty(value = JSON_PROPERTY_LIST_INFO, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setListInfo(@javax.annotation.Nonnull ListInfoResponse listInfo) {
this.listInfo = listInfo;
@@ -137,13 +137,13 @@ public BulkSendJobGetResponse addSignatureRequestsItem(
* @return signatureRequests
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_SIGNATURE_REQUESTS)
+ @JsonProperty(value = JSON_PROPERTY_SIGNATURE_REQUESTS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getSignatureRequests() {
return signatureRequests;
}
- @JsonProperty(JSON_PROPERTY_SIGNATURE_REQUESTS)
+ @JsonProperty(value = JSON_PROPERTY_SIGNATURE_REQUESTS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setSignatureRequests(
@javax.annotation.Nonnull
@@ -170,13 +170,13 @@ public BulkSendJobGetResponse addWarningsItem(WarningResponse warningsItem) {
*
* @return warnings
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getWarnings() {
return warnings;
}
- @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWarnings(@javax.annotation.Nullable List warnings) {
this.warnings = warnings;
@@ -336,9 +336,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobGetResponseSignatureRequests.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobGetResponseSignatureRequests.java
index dc04b97e4..8ec6ff54a 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobGetResponseSignatureRequests.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobGetResponseSignatureRequests.java
@@ -55,7 +55,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class BulkSendJobGetResponseSignatureRequests {
public static final String JSON_PROPERTY_TEST_MODE = "test_mode";
@@ -165,13 +165,13 @@ public BulkSendJobGetResponseSignatureRequests testMode(
*
* @return testMode
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEST_MODE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_TEST_MODE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getTestMode() {
return testMode;
}
- @JsonProperty(JSON_PROPERTY_TEST_MODE)
+ @JsonProperty(value = JSON_PROPERTY_TEST_MODE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTestMode(@javax.annotation.Nullable Boolean testMode) {
this.testMode = testMode;
@@ -188,13 +188,13 @@ public BulkSendJobGetResponseSignatureRequests signatureRequestId(
*
* @return signatureRequestId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIGNATURE_REQUEST_ID)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SIGNATURE_REQUEST_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSignatureRequestId() {
return signatureRequestId;
}
- @JsonProperty(JSON_PROPERTY_SIGNATURE_REQUEST_ID)
+ @JsonProperty(value = JSON_PROPERTY_SIGNATURE_REQUEST_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSignatureRequestId(@javax.annotation.Nullable String signatureRequestId) {
this.signatureRequestId = signatureRequestId;
@@ -211,13 +211,13 @@ public BulkSendJobGetResponseSignatureRequests requesterEmailAddress(
*
* @return requesterEmailAddress
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_REQUESTER_EMAIL_ADDRESS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_REQUESTER_EMAIL_ADDRESS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getRequesterEmailAddress() {
return requesterEmailAddress;
}
- @JsonProperty(JSON_PROPERTY_REQUESTER_EMAIL_ADDRESS)
+ @JsonProperty(value = JSON_PROPERTY_REQUESTER_EMAIL_ADDRESS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRequesterEmailAddress(@javax.annotation.Nullable String requesterEmailAddress) {
this.requesterEmailAddress = requesterEmailAddress;
@@ -233,13 +233,13 @@ public BulkSendJobGetResponseSignatureRequests title(@javax.annotation.Nullable
*
* @return title
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TITLE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_TITLE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTitle() {
return title;
}
- @JsonProperty(JSON_PROPERTY_TITLE)
+ @JsonProperty(value = JSON_PROPERTY_TITLE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTitle(@javax.annotation.Nullable String title) {
this.title = title;
@@ -256,13 +256,13 @@ public BulkSendJobGetResponseSignatureRequests originalTitle(
*
* @return originalTitle
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ORIGINAL_TITLE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_ORIGINAL_TITLE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getOriginalTitle() {
return originalTitle;
}
- @JsonProperty(JSON_PROPERTY_ORIGINAL_TITLE)
+ @JsonProperty(value = JSON_PROPERTY_ORIGINAL_TITLE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOriginalTitle(@javax.annotation.Nullable String originalTitle) {
this.originalTitle = originalTitle;
@@ -279,13 +279,13 @@ public BulkSendJobGetResponseSignatureRequests subject(
*
* @return subject
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SUBJECT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SUBJECT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSubject() {
return subject;
}
- @JsonProperty(JSON_PROPERTY_SUBJECT)
+ @JsonProperty(value = JSON_PROPERTY_SUBJECT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSubject(@javax.annotation.Nullable String subject) {
this.subject = subject;
@@ -302,13 +302,13 @@ public BulkSendJobGetResponseSignatureRequests message(
*
* @return message
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_MESSAGE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMessage() {
return message;
}
- @JsonProperty(JSON_PROPERTY_MESSAGE)
+ @JsonProperty(value = JSON_PROPERTY_MESSAGE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMessage(@javax.annotation.Nullable String message) {
this.message = message;
@@ -334,13 +334,13 @@ public BulkSendJobGetResponseSignatureRequests putMetadataItem(
*
* @return metadata
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_METADATA)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_METADATA, required = false)
@JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
public Map getMetadata() {
return metadata;
}
- @JsonProperty(JSON_PROPERTY_METADATA)
+ @JsonProperty(value = JSON_PROPERTY_METADATA, required = false)
@JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
public void setMetadata(@javax.annotation.Nullable Map metadata) {
this.metadata = metadata;
@@ -357,13 +357,13 @@ public BulkSendJobGetResponseSignatureRequests createdAt(
*
* @return createdAt
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CREATED_AT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CREATED_AT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getCreatedAt() {
return createdAt;
}
- @JsonProperty(JSON_PROPERTY_CREATED_AT)
+ @JsonProperty(value = JSON_PROPERTY_CREATED_AT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCreatedAt(@javax.annotation.Nullable Integer createdAt) {
this.createdAt = createdAt;
@@ -382,13 +382,13 @@ public BulkSendJobGetResponseSignatureRequests expiresAt(
*
* @return expiresAt
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EXPIRES_AT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_EXPIRES_AT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getExpiresAt() {
return expiresAt;
}
- @JsonProperty(JSON_PROPERTY_EXPIRES_AT)
+ @JsonProperty(value = JSON_PROPERTY_EXPIRES_AT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setExpiresAt(@javax.annotation.Nullable Integer expiresAt) {
this.expiresAt = expiresAt;
@@ -405,13 +405,13 @@ public BulkSendJobGetResponseSignatureRequests isComplete(
*
* @return isComplete
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_COMPLETE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_IS_COMPLETE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getIsComplete() {
return isComplete;
}
- @JsonProperty(JSON_PROPERTY_IS_COMPLETE)
+ @JsonProperty(value = JSON_PROPERTY_IS_COMPLETE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsComplete(@javax.annotation.Nullable Boolean isComplete) {
this.isComplete = isComplete;
@@ -428,13 +428,13 @@ public BulkSendJobGetResponseSignatureRequests isDeclined(
*
* @return isDeclined
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_DECLINED)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_IS_DECLINED, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getIsDeclined() {
return isDeclined;
}
- @JsonProperty(JSON_PROPERTY_IS_DECLINED)
+ @JsonProperty(value = JSON_PROPERTY_IS_DECLINED, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsDeclined(@javax.annotation.Nullable Boolean isDeclined) {
this.isDeclined = isDeclined;
@@ -452,13 +452,13 @@ public BulkSendJobGetResponseSignatureRequests hasError(
*
* @return hasError
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_HAS_ERROR)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_HAS_ERROR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasError() {
return hasError;
}
- @JsonProperty(JSON_PROPERTY_HAS_ERROR)
+ @JsonProperty(value = JSON_PROPERTY_HAS_ERROR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasError(@javax.annotation.Nullable Boolean hasError) {
this.hasError = hasError;
@@ -475,13 +475,13 @@ public BulkSendJobGetResponseSignatureRequests filesUrl(
*
* @return filesUrl
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES_URL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_FILES_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFilesUrl() {
return filesUrl;
}
- @JsonProperty(JSON_PROPERTY_FILES_URL)
+ @JsonProperty(value = JSON_PROPERTY_FILES_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFilesUrl(@javax.annotation.Nullable String filesUrl) {
this.filesUrl = filesUrl;
@@ -500,13 +500,13 @@ public BulkSendJobGetResponseSignatureRequests signingUrl(
*
* @return signingUrl
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIGNING_URL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SIGNING_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSigningUrl() {
return signingUrl;
}
- @JsonProperty(JSON_PROPERTY_SIGNING_URL)
+ @JsonProperty(value = JSON_PROPERTY_SIGNING_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSigningUrl(@javax.annotation.Nullable String signingUrl) {
this.signingUrl = signingUrl;
@@ -524,13 +524,13 @@ public BulkSendJobGetResponseSignatureRequests detailsUrl(
*
* @return detailsUrl
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DETAILS_URL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_DETAILS_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDetailsUrl() {
return detailsUrl;
}
- @JsonProperty(JSON_PROPERTY_DETAILS_URL)
+ @JsonProperty(value = JSON_PROPERTY_DETAILS_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDetailsUrl(@javax.annotation.Nullable String detailsUrl) {
this.detailsUrl = detailsUrl;
@@ -557,13 +557,13 @@ public BulkSendJobGetResponseSignatureRequests addCcEmailAddressesItem(
*
* @return ccEmailAddresses
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CC_EMAIL_ADDRESSES)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CC_EMAIL_ADDRESSES, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getCcEmailAddresses() {
return ccEmailAddresses;
}
- @JsonProperty(JSON_PROPERTY_CC_EMAIL_ADDRESSES)
+ @JsonProperty(value = JSON_PROPERTY_CC_EMAIL_ADDRESSES, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCcEmailAddresses(@javax.annotation.Nullable List ccEmailAddresses) {
this.ccEmailAddresses = ccEmailAddresses;
@@ -580,13 +580,13 @@ public BulkSendJobGetResponseSignatureRequests signingRedirectUrl(
*
* @return signingRedirectUrl
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIGNING_REDIRECT_URL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SIGNING_REDIRECT_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSigningRedirectUrl() {
return signingRedirectUrl;
}
- @JsonProperty(JSON_PROPERTY_SIGNING_REDIRECT_URL)
+ @JsonProperty(value = JSON_PROPERTY_SIGNING_REDIRECT_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSigningRedirectUrl(@javax.annotation.Nullable String signingRedirectUrl) {
this.signingRedirectUrl = signingRedirectUrl;
@@ -603,13 +603,13 @@ public BulkSendJobGetResponseSignatureRequests finalCopyUri(
*
* @return finalCopyUri
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FINAL_COPY_URI)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_FINAL_COPY_URI, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFinalCopyUri() {
return finalCopyUri;
}
- @JsonProperty(JSON_PROPERTY_FINAL_COPY_URI)
+ @JsonProperty(value = JSON_PROPERTY_FINAL_COPY_URI, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFinalCopyUri(@javax.annotation.Nullable String finalCopyUri) {
this.finalCopyUri = finalCopyUri;
@@ -634,13 +634,13 @@ public BulkSendJobGetResponseSignatureRequests addTemplateIdsItem(String templat
*
* @return templateIds
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEMPLATE_IDS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_TEMPLATE_IDS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getTemplateIds() {
return templateIds;
}
- @JsonProperty(JSON_PROPERTY_TEMPLATE_IDS)
+ @JsonProperty(value = JSON_PROPERTY_TEMPLATE_IDS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTemplateIds(@javax.annotation.Nullable List templateIds) {
this.templateIds = templateIds;
@@ -668,13 +668,13 @@ public BulkSendJobGetResponseSignatureRequests addCustomFieldsItem(
*
* @return customFields
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CUSTOM_FIELDS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CUSTOM_FIELDS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getCustomFields() {
return customFields;
}
- @JsonProperty(JSON_PROPERTY_CUSTOM_FIELDS)
+ @JsonProperty(value = JSON_PROPERTY_CUSTOM_FIELDS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCustomFields(
@javax.annotation.Nullable List customFields) {
@@ -701,13 +701,13 @@ public BulkSendJobGetResponseSignatureRequests addAttachmentsItem(
*
* @return attachments
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTACHMENTS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_ATTACHMENTS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getAttachments() {
return attachments;
}
- @JsonProperty(JSON_PROPERTY_ATTACHMENTS)
+ @JsonProperty(value = JSON_PROPERTY_ATTACHMENTS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAttachments(
@javax.annotation.Nullable List attachments) {
@@ -735,13 +735,13 @@ public BulkSendJobGetResponseSignatureRequests addResponseDataItem(
*
* @return responseData
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RESPONSE_DATA)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_RESPONSE_DATA, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getResponseData() {
return responseData;
}
- @JsonProperty(JSON_PROPERTY_RESPONSE_DATA)
+ @JsonProperty(value = JSON_PROPERTY_RESPONSE_DATA, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setResponseData(
@javax.annotation.Nullable List responseData) {
@@ -768,13 +768,13 @@ public BulkSendJobGetResponseSignatureRequests addSignaturesItem(
*
* @return signatures
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIGNATURES)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_SIGNATURES, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getSignatures() {
return signatures;
}
- @JsonProperty(JSON_PROPERTY_SIGNATURES)
+ @JsonProperty(value = JSON_PROPERTY_SIGNATURES, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSignatures(
@javax.annotation.Nullable List signatures) {
@@ -792,13 +792,13 @@ public BulkSendJobGetResponseSignatureRequests bulkSendJobId(
*
* @return bulkSendJobId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BULK_SEND_JOB_ID)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_BULK_SEND_JOB_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBulkSendJobId() {
return bulkSendJobId;
}
- @JsonProperty(JSON_PROPERTY_BULK_SEND_JOB_ID)
+ @JsonProperty(value = JSON_PROPERTY_BULK_SEND_JOB_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBulkSendJobId(@javax.annotation.Nullable String bulkSendJobId) {
this.bulkSendJobId = bulkSendJobId;
@@ -1472,9 +1472,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobListResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobListResponse.java
index a47d9a259..93ae52397 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobListResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobListResponse.java
@@ -33,7 +33,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class BulkSendJobListResponse {
public static final String JSON_PROPERTY_BULK_SEND_JOBS = "bulk_send_jobs";
@@ -82,13 +82,13 @@ public BulkSendJobListResponse addBulkSendJobsItem(BulkSendJobResponse bulkSendJ
* @return bulkSendJobs
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_BULK_SEND_JOBS)
+ @JsonProperty(value = JSON_PROPERTY_BULK_SEND_JOBS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getBulkSendJobs() {
return bulkSendJobs;
}
- @JsonProperty(JSON_PROPERTY_BULK_SEND_JOBS)
+ @JsonProperty(value = JSON_PROPERTY_BULK_SEND_JOBS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setBulkSendJobs(@javax.annotation.Nonnull List bulkSendJobs) {
this.bulkSendJobs = bulkSendJobs;
@@ -105,13 +105,13 @@ public BulkSendJobListResponse listInfo(@javax.annotation.Nonnull ListInfoRespon
* @return listInfo
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_LIST_INFO)
+ @JsonProperty(value = JSON_PROPERTY_LIST_INFO, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public ListInfoResponse getListInfo() {
return listInfo;
}
- @JsonProperty(JSON_PROPERTY_LIST_INFO)
+ @JsonProperty(value = JSON_PROPERTY_LIST_INFO, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setListInfo(@javax.annotation.Nonnull ListInfoResponse listInfo) {
this.listInfo = listInfo;
@@ -136,13 +136,13 @@ public BulkSendJobListResponse addWarningsItem(WarningResponse warningsItem) {
*
* @return warnings
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getWarnings() {
return warnings;
}
- @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWarnings(@javax.annotation.Nullable List warnings) {
this.warnings = warnings;
@@ -278,9 +278,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobResponse.java
index 442e2b628..76d0ba5d6 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobResponse.java
@@ -35,7 +35,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class BulkSendJobResponse {
public static final String JSON_PROPERTY_BULK_SEND_JOB_ID = "bulk_send_job_id";
@@ -76,13 +76,13 @@ public BulkSendJobResponse bulkSendJobId(@javax.annotation.Nullable String bulkS
*
* @return bulkSendJobId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BULK_SEND_JOB_ID)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_BULK_SEND_JOB_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBulkSendJobId() {
return bulkSendJobId;
}
- @JsonProperty(JSON_PROPERTY_BULK_SEND_JOB_ID)
+ @JsonProperty(value = JSON_PROPERTY_BULK_SEND_JOB_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBulkSendJobId(@javax.annotation.Nullable String bulkSendJobId) {
this.bulkSendJobId = bulkSendJobId;
@@ -98,13 +98,13 @@ public BulkSendJobResponse total(@javax.annotation.Nullable Integer total) {
*
* @return total
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TOTAL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_TOTAL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getTotal() {
return total;
}
- @JsonProperty(JSON_PROPERTY_TOTAL)
+ @JsonProperty(value = JSON_PROPERTY_TOTAL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTotal(@javax.annotation.Nullable Integer total) {
this.total = total;
@@ -121,13 +121,13 @@ public BulkSendJobResponse isCreator(@javax.annotation.Nullable Boolean isCreato
*
* @return isCreator
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_CREATOR)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_IS_CREATOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getIsCreator() {
return isCreator;
}
- @JsonProperty(JSON_PROPERTY_IS_CREATOR)
+ @JsonProperty(value = JSON_PROPERTY_IS_CREATOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsCreator(@javax.annotation.Nullable Boolean isCreator) {
this.isCreator = isCreator;
@@ -143,13 +143,13 @@ public BulkSendJobResponse createdAt(@javax.annotation.Nullable Integer createdA
*
* @return createdAt
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CREATED_AT)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_CREATED_AT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getCreatedAt() {
return createdAt;
}
- @JsonProperty(JSON_PROPERTY_CREATED_AT)
+ @JsonProperty(value = JSON_PROPERTY_CREATED_AT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCreatedAt(@javax.annotation.Nullable Integer createdAt) {
this.createdAt = createdAt;
@@ -307,9 +307,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobSendResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobSendResponse.java
index b59c28092..0dad52928 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobSendResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/BulkSendJobSendResponse.java
@@ -32,7 +32,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class BulkSendJobSendResponse {
public static final String JSON_PROPERTY_BULK_SEND_JOB = "bulk_send_job";
@@ -70,13 +70,13 @@ public BulkSendJobSendResponse bulkSendJob(
* @return bulkSendJob
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_BULK_SEND_JOB)
+ @JsonProperty(value = JSON_PROPERTY_BULK_SEND_JOB, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public BulkSendJobResponse getBulkSendJob() {
return bulkSendJob;
}
- @JsonProperty(JSON_PROPERTY_BULK_SEND_JOB)
+ @JsonProperty(value = JSON_PROPERTY_BULK_SEND_JOB, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setBulkSendJob(@javax.annotation.Nonnull BulkSendJobResponse bulkSendJob) {
this.bulkSendJob = bulkSendJob;
@@ -101,13 +101,13 @@ public BulkSendJobSendResponse addWarningsItem(WarningResponse warningsItem) {
*
* @return warnings
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getWarnings() {
return warnings;
}
- @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWarnings(@javax.annotation.Nullable List warnings) {
this.warnings = warnings;
@@ -221,9 +221,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/DocumentFieldDetectionRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/DocumentFieldDetectionRequest.java
index a9db580c3..3cb590cec 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/DocumentFieldDetectionRequest.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/DocumentFieldDetectionRequest.java
@@ -34,7 +34,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class DocumentFieldDetectionRequest {
public static final String JSON_PROPERTY_DETECTION_MODE = "detection_mode";
@@ -80,13 +80,13 @@ public DocumentFieldDetectionRequest detectionMode(
* @return detectionMode
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_DETECTION_MODE)
+ @JsonProperty(value = JSON_PROPERTY_DETECTION_MODE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getDetectionMode() {
return detectionMode;
}
- @JsonProperty(JSON_PROPERTY_DETECTION_MODE)
+ @JsonProperty(value = JSON_PROPERTY_DETECTION_MODE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDetectionMode(@javax.annotation.Nonnull String detectionMode) {
this.detectionMode = detectionMode;
@@ -103,13 +103,13 @@ public DocumentFieldDetectionRequest _file(@javax.annotation.Nullable File _file
*
* @return _file
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_FILE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public File getFile() {
return _file;
}
- @JsonProperty(JSON_PROPERTY_FILE)
+ @JsonProperty(value = JSON_PROPERTY_FILE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFile(@javax.annotation.Nullable File _file) {
this._file = _file;
@@ -126,13 +126,13 @@ public DocumentFieldDetectionRequest fileUrl(@javax.annotation.Nullable URI file
*
* @return fileUrl
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE_URL)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_FILE_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public URI getFileUrl() {
return fileUrl;
}
- @JsonProperty(JSON_PROPERTY_FILE_URL)
+ @JsonProperty(value = JSON_PROPERTY_FILE_URL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFileUrl(@javax.annotation.Nullable URI fileUrl) {
this.fileUrl = fileUrl;
@@ -150,13 +150,13 @@ public DocumentFieldDetectionRequest pageRange(@javax.annotation.Nullable String
*
* @return pageRange
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PAGE_RANGE)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_PAGE_RANGE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPageRange() {
return pageRange;
}
- @JsonProperty(JSON_PROPERTY_PAGE_RANGE)
+ @JsonProperty(value = JSON_PROPERTY_PAGE_RANGE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPageRange(@javax.annotation.Nullable String pageRange) {
this.pageRange = pageRange;
@@ -313,9 +313,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/DocumentFieldDetectionResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/DocumentFieldDetectionResponse.java
index d877c978d..6aeb17b29 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/DocumentFieldDetectionResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/DocumentFieldDetectionResponse.java
@@ -32,7 +32,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class DocumentFieldDetectionResponse {
public static final String JSON_PROPERTY_DETECTION_RESULT = "detection_result";
@@ -72,13 +72,13 @@ public DocumentFieldDetectionResponse detectionResult(
* @return detectionResult
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_DETECTION_RESULT)
+ @JsonProperty(value = JSON_PROPERTY_DETECTION_RESULT, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public DocumentFieldDetectionResponseDetectionResult getDetectionResult() {
return detectionResult;
}
- @JsonProperty(JSON_PROPERTY_DETECTION_RESULT)
+ @JsonProperty(value = JSON_PROPERTY_DETECTION_RESULT, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDetectionResult(
@javax.annotation.Nonnull
@@ -105,13 +105,13 @@ public DocumentFieldDetectionResponse addWarningsItem(WarningResponse warningsIt
*
* @return warnings
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @javax.annotation.Nullable @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getWarnings() {
return warnings;
}
- @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWarnings(@javax.annotation.Nullable List warnings) {
this.warnings = warnings;
@@ -226,9 +226,6 @@ private int getListSize(Object obj) throws Exception {
* line).
*/
private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
+ return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/DocumentFieldDetectionResponseDetectionResult.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/DocumentFieldDetectionResponseDetectionResult.java
index 37eac201e..b4ed97a3b 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/DocumentFieldDetectionResponseDetectionResult.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/DocumentFieldDetectionResponseDetectionResult.java
@@ -40,7 +40,7 @@
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.12.0")
+ comments = "Generator version: 7.26.0")
@JsonIgnoreProperties(ignoreUnknown = true)
public class DocumentFieldDetectionResponseDetectionResult {
public static final String JSON_PROPERTY_DOCUMENT_HASH = "document_hash";
@@ -108,13 +108,13 @@ public DocumentFieldDetectionResponseDetectionResult documentHash(
* @return documentHash
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_DOCUMENT_HASH)
+ @JsonProperty(value = JSON_PROPERTY_DOCUMENT_HASH, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getDocumentHash() {
return documentHash;
}
- @JsonProperty(JSON_PROPERTY_DOCUMENT_HASH)
+ @JsonProperty(value = JSON_PROPERTY_DOCUMENT_HASH, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDocumentHash(@javax.annotation.Nonnull String documentHash) {
this.documentHash = documentHash;
@@ -133,13 +133,13 @@ public DocumentFieldDetectionResponseDetectionResult detectionMode(
* @return detectionMode
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_DETECTION_MODE)
+ @JsonProperty(value = JSON_PROPERTY_DETECTION_MODE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getDetectionMode() {
return detectionMode;
}
- @JsonProperty(JSON_PROPERTY_DETECTION_MODE)
+ @JsonProperty(value = JSON_PROPERTY_DETECTION_MODE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDetectionMode(@javax.annotation.Nonnull String detectionMode) {
this.detectionMode = detectionMode;
@@ -157,13 +157,13 @@ public DocumentFieldDetectionResponseDetectionResult pageCount(
* @return pageCount
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_PAGE_COUNT)
+ @JsonProperty(value = JSON_PROPERTY_PAGE_COUNT, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getPageCount() {
return pageCount;
}
- @JsonProperty(JSON_PROPERTY_PAGE_COUNT)
+ @JsonProperty(value = JSON_PROPERTY_PAGE_COUNT, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setPageCount(@javax.annotation.Nonnull Integer pageCount) {
this.pageCount = pageCount;
@@ -182,13 +182,13 @@ public DocumentFieldDetectionResponseDetectionResult pagesAnalyzed(
* @return pagesAnalyzed
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_PAGES_ANALYZED)
+ @JsonProperty(value = JSON_PROPERTY_PAGES_ANALYZED, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getPagesAnalyzed() {
return pagesAnalyzed;
}
- @JsonProperty(JSON_PROPERTY_PAGES_ANALYZED)
+ @JsonProperty(value = JSON_PROPERTY_PAGES_ANALYZED, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setPagesAnalyzed(@javax.annotation.Nonnull String pagesAnalyzed) {
this.pagesAnalyzed = pagesAnalyzed;
@@ -206,13 +206,13 @@ public DocumentFieldDetectionResponseDetectionResult detectedAt(
* @return detectedAt
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_DETECTED_AT)
+ @JsonProperty(value = JSON_PROPERTY_DETECTED_AT, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Long getDetectedAt() {
return detectedAt;
}
- @JsonProperty(JSON_PROPERTY_DETECTED_AT)
+ @JsonProperty(value = JSON_PROPERTY_DETECTED_AT, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDetectedAt(@javax.annotation.Nonnull Long detectedAt) {
this.detectedAt = detectedAt;
@@ -254,13 +254,13 @@ public DocumentFieldDetectionResponseDetectionResult addFormFieldsPerDocumentIte
* @return formFieldsPerDocument
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_FORM_FIELDS_PER_DOCUMENT)
+ @JsonProperty(value = JSON_PROPERTY_FORM_FIELDS_PER_DOCUMENT, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getFormFieldsPerDocument() {
return formFieldsPerDocument;
}
- @JsonProperty(JSON_PROPERTY_FORM_FIELDS_PER_DOCUMENT)
+ @JsonProperty(value = JSON_PROPERTY_FORM_FIELDS_PER_DOCUMENT, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFormFieldsPerDocument(
@javax.annotation.Nonnull List formFieldsPerDocument) {
@@ -291,13 +291,13 @@ public DocumentFieldDetectionResponseDetectionResult addFormFieldGroupsItem(
* @return formFieldGroups
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_FORM_FIELD_GROUPS)
+ @JsonProperty(value = JSON_PROPERTY_FORM_FIELD_GROUPS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getFormFieldGroups() {
return formFieldGroups;
}
- @JsonProperty(JSON_PROPERTY_FORM_FIELD_GROUPS)
+ @JsonProperty(value = JSON_PROPERTY_FORM_FIELD_GROUPS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFormFieldGroups(
@javax.annotation.Nonnull List formFieldGroups) {
@@ -325,13 +325,13 @@ public DocumentFieldDetectionResponseDetectionResult addWarningsItem(
* @return warnings
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getWarnings() {
return warnings;
}
- @JsonProperty(JSON_PROPERTY_WARNINGS)
+ @JsonProperty(value = JSON_PROPERTY_WARNINGS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setWarnings(@javax.annotation.Nonnull List warnings) {
this.warnings = warnings;
@@ -359,13 +359,13 @@ public DocumentFieldDetectionResponseDetectionResult addErrorsItem(
* @return errors
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_ERRORS)
+ @JsonProperty(value = JSON_PROPERTY_ERRORS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getErrors() {
return errors;
}
- @JsonProperty(JSON_PROPERTY_ERRORS)
+ @JsonProperty(value = JSON_PROPERTY_ERRORS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setErrors(@javax.annotation.Nonnull List errors) {
this.errors = errors;
@@ -392,13 +392,13 @@ public DocumentFieldDetectionResponseDetectionResult addSuggestionsItem(
* @return suggestions
*/
@javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_SUGGESTIONS)
+ @JsonProperty(value = JSON_PROPERTY_SUGGESTIONS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List