additionalProperties = new HashMap<>();
+
+ private Builder() {}
+
+ public Builder from(ListAllAnnotationsRequest other) {
+ documentPassword(other.getDocumentPassword());
+ return this;
+ }
+
+ /**
+ * Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
+ */
+ public Builder documentPassword(Optional documentPassword) {
+ this.documentPassword = documentPassword;
+ return this;
+ }
+
+ public Builder documentPassword(String documentPassword) {
+ this.documentPassword = Optional.ofNullable(documentPassword);
+ return this;
+ }
+
+ public ListAllAnnotationsRequest build() {
+ return new ListAllAnnotationsRequest(documentPassword, additionalProperties);
+ }
+
+ public Builder additionalProperty(String key, Object value) {
+ this.additionalProperties.put(key, value);
+ return this;
+ }
+
+ public Builder additionalProperties(Map additionalProperties) {
+ this.additionalProperties.putAll(additionalProperties);
+ return this;
+ }
+ }
+}
diff --git a/src/main/java/api/resources/documents/AsyncRawDocumentsClient.java b/src/main/java/api/resources/documents/AsyncRawDocumentsClient.java
index 5f55c56..28842f9 100644
--- a/src/main/java/api/resources/documents/AsyncRawDocumentsClient.java
+++ b/src/main/java/api/resources/documents/AsyncRawDocumentsClient.java
@@ -35,7 +35,6 @@
import com.cloudpdf.api.types.DocumentsInit200Response;
import com.cloudpdf.api.types.DocumentsList200Response;
import com.cloudpdf.api.types.DocumentsUploadProxy200Response;
-import com.cloudpdf.api.types.DocumentsUploadProxy409Response;
import com.fasterxml.jackson.core.JsonProcessingException;
import java.io.File;
import java.io.IOException;
@@ -700,8 +699,7 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
return;
case 409:
future.completeExceptionally(new ConflictError(
- ObjectMappers.JSON_MAPPER.readValue(
- responseBodyString, DocumentsUploadProxy409Response.class),
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
}
@@ -770,8 +768,7 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
return;
case 409:
future.completeExceptionally(new ConflictError(
- ObjectMappers.JSON_MAPPER.readValue(
- responseBodyString, DocumentsUploadProxy409Response.class),
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
}
@@ -840,8 +837,7 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
return;
case 409:
future.completeExceptionally(new ConflictError(
- ObjectMappers.JSON_MAPPER.readValue(
- responseBodyString, DocumentsUploadProxy409Response.class),
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
}
@@ -927,8 +923,7 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
return;
case 409:
future.completeExceptionally(new ConflictError(
- ObjectMappers.JSON_MAPPER.readValue(
- responseBodyString, DocumentsUploadProxy409Response.class),
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
}
@@ -1019,8 +1014,7 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
return;
case 409:
future.completeExceptionally(new ConflictError(
- ObjectMappers.JSON_MAPPER.readValue(
- responseBodyString, DocumentsUploadProxy409Response.class),
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
}
diff --git a/src/main/java/api/resources/documents/RawDocumentsClient.java b/src/main/java/api/resources/documents/RawDocumentsClient.java
index e1737fc..49f58b8 100644
--- a/src/main/java/api/resources/documents/RawDocumentsClient.java
+++ b/src/main/java/api/resources/documents/RawDocumentsClient.java
@@ -35,7 +35,6 @@
import com.cloudpdf.api.types.DocumentsInit200Response;
import com.cloudpdf.api.types.DocumentsList200Response;
import com.cloudpdf.api.types.DocumentsUploadProxy200Response;
-import com.cloudpdf.api.types.DocumentsUploadProxy409Response;
import com.fasterxml.jackson.core.JsonProcessingException;
import java.io.File;
import java.io.IOException;
@@ -578,9 +577,7 @@ public CloudPDFClientHttpResponse uploadProxy(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 409:
throw new ConflictError(
- ObjectMappers.JSON_MAPPER.readValue(
- responseBodyString, DocumentsUploadProxy409Response.class),
- response);
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
}
} catch (JsonProcessingException ignored) {
// unable to map error response, throwing generic error
@@ -629,9 +626,7 @@ public CloudPDFClientHttpResponse uploadProxy(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 409:
throw new ConflictError(
- ObjectMappers.JSON_MAPPER.readValue(
- responseBodyString, DocumentsUploadProxy409Response.class),
- response);
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
}
} catch (JsonProcessingException ignored) {
// unable to map error response, throwing generic error
@@ -680,9 +675,7 @@ public CloudPDFClientHttpResponse uploadProxy(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 409:
throw new ConflictError(
- ObjectMappers.JSON_MAPPER.readValue(
- responseBodyString, DocumentsUploadProxy409Response.class),
- response);
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
}
} catch (JsonProcessingException ignored) {
// unable to map error response, throwing generic error
@@ -748,9 +741,7 @@ public CloudPDFClientHttpResponse uploadProxy(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 409:
throw new ConflictError(
- ObjectMappers.JSON_MAPPER.readValue(
- responseBodyString, DocumentsUploadProxy409Response.class),
- response);
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
}
} catch (JsonProcessingException ignored) {
// unable to map error response, throwing generic error
@@ -821,9 +812,7 @@ public CloudPDFClientHttpResponse uploadProxy(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 409:
throw new ConflictError(
- ObjectMappers.JSON_MAPPER.readValue(
- responseBodyString, DocumentsUploadProxy409Response.class),
- response);
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
}
} catch (JsonProcessingException ignored) {
// unable to map error response, throwing generic error
diff --git a/src/main/java/api/types/DocAnnotationsCreate200ResponseMetaCacheDelta.java b/src/main/java/api/types/DocAnnotationsCreate200ResponseMetaCacheDelta.java
index 66d30c0..4ea473f 100644
--- a/src/main/java/api/types/DocAnnotationsCreate200ResponseMetaCacheDelta.java
+++ b/src/main/java/api/types/DocAnnotationsCreate200ResponseMetaCacheDelta.java
@@ -17,6 +17,7 @@
import java.util.List;
import java.util.Map;
import java.util.Objects;
+import java.util.Optional;
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = DocAnnotationsCreate200ResponseMetaCacheDelta.Builder.class)
@@ -25,6 +26,8 @@ public final class DocAnnotationsCreate200ResponseMetaCacheDelta {
private final int docVersion;
+ private final Optional annotationsVersion;
+
private final List pages;
private final Map additionalProperties;
@@ -32,10 +35,12 @@ public final class DocAnnotationsCreate200ResponseMetaCacheDelta {
private DocAnnotationsCreate200ResponseMetaCacheDelta(
int previousDocVersion,
int docVersion,
+ Optional annotationsVersion,
List pages,
Map additionalProperties) {
this.previousDocVersion = previousDocVersion;
this.docVersion = docVersion;
+ this.annotationsVersion = annotationsVersion;
this.pages = pages;
this.additionalProperties = additionalProperties;
}
@@ -50,6 +55,11 @@ public int getDocVersion() {
return docVersion;
}
+ @JsonProperty("annotationsVersion")
+ public Optional getAnnotationsVersion() {
+ return annotationsVersion;
+ }
+
@JsonProperty("pages")
public List getPages() {
return pages;
@@ -70,12 +80,13 @@ public Map getAdditionalProperties() {
private boolean equalTo(DocAnnotationsCreate200ResponseMetaCacheDelta other) {
return previousDocVersion == other.previousDocVersion
&& docVersion == other.docVersion
+ && annotationsVersion.equals(other.annotationsVersion)
&& pages.equals(other.pages);
}
@java.lang.Override
public int hashCode() {
- return Objects.hash(this.previousDocVersion, this.docVersion, this.pages);
+ return Objects.hash(this.previousDocVersion, this.docVersion, this.annotationsVersion, this.pages);
}
@java.lang.Override
@@ -104,6 +115,10 @@ public interface _FinalStage {
_FinalStage additionalProperties(Map additionalProperties);
+ _FinalStage annotationsVersion(Optional annotationsVersion);
+
+ _FinalStage annotationsVersion(Integer annotationsVersion);
+
_FinalStage pages(List pages);
_FinalStage addPages(DocAnnotationsCreate200ResponseMetaCacheDeltaPagesItem pages);
@@ -119,6 +134,8 @@ public static final class Builder implements PreviousDocVersionStage, DocVersion
private List pages = new ArrayList<>();
+ private Optional annotationsVersion = Optional.empty();
+
@JsonAnySetter
private Map additionalProperties = new HashMap<>();
@@ -128,6 +145,7 @@ private Builder() {}
public Builder from(DocAnnotationsCreate200ResponseMetaCacheDelta other) {
previousDocVersion(other.getPreviousDocVersion());
docVersion(other.getDocVersion());
+ annotationsVersion(other.getAnnotationsVersion());
pages(other.getPages());
return this;
}
@@ -170,10 +188,23 @@ public _FinalStage pages(List annotationsVersion) {
+ this.annotationsVersion = annotationsVersion;
+ return this;
+ }
+
@java.lang.Override
public DocAnnotationsCreate200ResponseMetaCacheDelta build() {
return new DocAnnotationsCreate200ResponseMetaCacheDelta(
- previousDocVersion, docVersion, pages, additionalProperties);
+ previousDocVersion, docVersion, annotationsVersion, pages, additionalProperties);
}
@java.lang.Override
diff --git a/src/main/java/api/types/DocAnnotationsDelete200ResponseMetaCacheDelta.java b/src/main/java/api/types/DocAnnotationsDelete200ResponseMetaCacheDelta.java
index 3c97030..06c608a 100644
--- a/src/main/java/api/types/DocAnnotationsDelete200ResponseMetaCacheDelta.java
+++ b/src/main/java/api/types/DocAnnotationsDelete200ResponseMetaCacheDelta.java
@@ -17,6 +17,7 @@
import java.util.List;
import java.util.Map;
import java.util.Objects;
+import java.util.Optional;
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = DocAnnotationsDelete200ResponseMetaCacheDelta.Builder.class)
@@ -25,6 +26,8 @@ public final class DocAnnotationsDelete200ResponseMetaCacheDelta {
private final int docVersion;
+ private final Optional annotationsVersion;
+
private final List pages;
private final Map additionalProperties;
@@ -32,10 +35,12 @@ public final class DocAnnotationsDelete200ResponseMetaCacheDelta {
private DocAnnotationsDelete200ResponseMetaCacheDelta(
int previousDocVersion,
int docVersion,
+ Optional annotationsVersion,
List pages,
Map additionalProperties) {
this.previousDocVersion = previousDocVersion;
this.docVersion = docVersion;
+ this.annotationsVersion = annotationsVersion;
this.pages = pages;
this.additionalProperties = additionalProperties;
}
@@ -50,6 +55,11 @@ public int getDocVersion() {
return docVersion;
}
+ @JsonProperty("annotationsVersion")
+ public Optional getAnnotationsVersion() {
+ return annotationsVersion;
+ }
+
@JsonProperty("pages")
public List getPages() {
return pages;
@@ -70,12 +80,13 @@ public Map getAdditionalProperties() {
private boolean equalTo(DocAnnotationsDelete200ResponseMetaCacheDelta other) {
return previousDocVersion == other.previousDocVersion
&& docVersion == other.docVersion
+ && annotationsVersion.equals(other.annotationsVersion)
&& pages.equals(other.pages);
}
@java.lang.Override
public int hashCode() {
- return Objects.hash(this.previousDocVersion, this.docVersion, this.pages);
+ return Objects.hash(this.previousDocVersion, this.docVersion, this.annotationsVersion, this.pages);
}
@java.lang.Override
@@ -104,6 +115,10 @@ public interface _FinalStage {
_FinalStage additionalProperties(Map additionalProperties);
+ _FinalStage annotationsVersion(Optional annotationsVersion);
+
+ _FinalStage annotationsVersion(Integer annotationsVersion);
+
_FinalStage pages(List pages);
_FinalStage addPages(DocAnnotationsDelete200ResponseMetaCacheDeltaPagesItem pages);
@@ -119,6 +134,8 @@ public static final class Builder implements PreviousDocVersionStage, DocVersion
private List pages = new ArrayList<>();
+ private Optional annotationsVersion = Optional.empty();
+
@JsonAnySetter
private Map additionalProperties = new HashMap<>();
@@ -128,6 +145,7 @@ private Builder() {}
public Builder from(DocAnnotationsDelete200ResponseMetaCacheDelta other) {
previousDocVersion(other.getPreviousDocVersion());
docVersion(other.getDocVersion());
+ annotationsVersion(other.getAnnotationsVersion());
pages(other.getPages());
return this;
}
@@ -170,10 +188,23 @@ public _FinalStage pages(List annotationsVersion) {
+ this.annotationsVersion = annotationsVersion;
+ return this;
+ }
+
@java.lang.Override
public DocAnnotationsDelete200ResponseMetaCacheDelta build() {
return new DocAnnotationsDelete200ResponseMetaCacheDelta(
- previousDocVersion, docVersion, pages, additionalProperties);
+ previousDocVersion, docVersion, annotationsVersion, pages, additionalProperties);
}
@java.lang.Override
diff --git a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemCaret.java b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemCaret.java
index 4cf548e..9c5d4ed 100644
--- a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemCaret.java
+++ b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemCaret.java
@@ -41,6 +41,8 @@ public final class DocAnnotationsList200ResponseAnnotationsItemCaret {
private final Optional contents;
+ private final Optional subject;
+
private final Optional author;
private final Optional created;
@@ -86,6 +88,7 @@ private DocAnnotationsList200ResponseAnnotationsItemCaret(
DocAnnotationsList200ResponseAnnotationsItemCaretFlags flags,
DocAnnotationsList200ResponseAnnotationsItemCaretRect rect,
Optional contents,
+ Optional subject,
Optional author,
Optional created,
Optional modified,
@@ -112,6 +115,7 @@ private DocAnnotationsList200ResponseAnnotationsItemCaret(
this.flags = flags;
this.rect = rect;
this.contents = contents;
+ this.subject = subject;
this.author = author;
this.created = created;
this.modified = modified;
@@ -178,6 +182,14 @@ public Optional getContents() {
return contents;
}
+ @JsonIgnore
+ public Optional getSubject() {
+ if (subject == null) {
+ return Optional.empty();
+ }
+ return subject;
+ }
+
@JsonIgnore
public Optional getAuthor() {
if (author == null) {
@@ -296,6 +308,12 @@ private Optional _getContents() {
return contents;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("subject")
+ private Optional _getSubject() {
+ return subject;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("author")
private Optional _getAuthor() {
@@ -359,6 +377,7 @@ private boolean equalTo(DocAnnotationsList200ResponseAnnotationsItemCaret other)
&& flags.equals(other.flags)
&& rect.equals(other.rect)
&& contents.equals(other.contents)
+ && subject.equals(other.subject)
&& author.equals(other.author)
&& created.equals(other.created)
&& modified.equals(other.modified)
@@ -389,6 +408,7 @@ public int hashCode() {
this.flags,
this.rect,
this.contents,
+ this.subject,
this.author,
this.created,
this.modified,
@@ -475,6 +495,12 @@ public interface _FinalStage {
_FinalStage contents(Nullable contents);
+ _FinalStage subject(Optional subject);
+
+ _FinalStage subject(String subject);
+
+ _FinalStage subject(Nullable subject);
+
_FinalStage author(Optional author);
_FinalStage author(String author);
@@ -609,6 +635,8 @@ public static final class Builder
private Optional author = Optional.empty();
+ private Optional subject = Optional.empty();
+
private Optional contents = Optional.empty();
private Optional nm = Optional.empty();
@@ -628,6 +656,7 @@ public Builder from(DocAnnotationsList200ResponseAnnotationsItemCaret other) {
flags(other.getFlags());
rect(other.getRect());
contents(other.getContents());
+ subject(other.getSubject());
author(other.getAuthor());
created(other.getCreated());
modified(other.getModified());
@@ -982,6 +1011,31 @@ public _FinalStage author(Optional author) {
return this;
}
+ @java.lang.Override
+ public _FinalStage subject(Nullable subject) {
+ if (subject.isNull()) {
+ this.subject = null;
+ } else if (subject.isEmpty()) {
+ this.subject = Optional.empty();
+ } else {
+ this.subject = Optional.of(subject.get());
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage subject(String subject) {
+ this.subject = Optional.ofNullable(subject);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "subject", nulls = Nulls.SKIP)
+ public _FinalStage subject(Optional subject) {
+ this.subject = subject;
+ return this;
+ }
+
@java.lang.Override
public _FinalStage contents(Nullable contents) {
if (contents.isNull()) {
@@ -1043,6 +1097,7 @@ public DocAnnotationsList200ResponseAnnotationsItemCaret build() {
flags,
rect,
contents,
+ subject,
author,
created,
modified,
diff --git a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemCircle.java b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemCircle.java
index cca60ab..2b9654c 100644
--- a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemCircle.java
+++ b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemCircle.java
@@ -42,6 +42,8 @@ public final class DocAnnotationsList200ResponseAnnotationsItemCircle {
private final Optional contents;
+ private final Optional subject;
+
private final Optional author;
private final Optional created;
@@ -95,6 +97,7 @@ private DocAnnotationsList200ResponseAnnotationsItemCircle(
DocAnnotationsList200ResponseAnnotationsItemCircleFlags flags,
DocAnnotationsList200ResponseAnnotationsItemCircleRect rect,
Optional contents,
+ Optional subject,
Optional author,
Optional created,
Optional modified,
@@ -125,6 +128,7 @@ private DocAnnotationsList200ResponseAnnotationsItemCircle(
this.flags = flags;
this.rect = rect;
this.contents = contents;
+ this.subject = subject;
this.author = author;
this.created = created;
this.modified = modified;
@@ -195,6 +199,14 @@ public Optional getContents() {
return contents;
}
+ @JsonIgnore
+ public Optional getSubject() {
+ if (subject == null) {
+ return Optional.empty();
+ }
+ return subject;
+ }
+
@JsonIgnore
public Optional getAuthor() {
if (author == null) {
@@ -336,6 +348,12 @@ private Optional _getContents() {
return contents;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("subject")
+ private Optional _getSubject() {
+ return subject;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("author")
private Optional _getAuthor() {
@@ -405,6 +423,7 @@ private boolean equalTo(DocAnnotationsList200ResponseAnnotationsItemCircle other
&& flags.equals(other.flags)
&& rect.equals(other.rect)
&& contents.equals(other.contents)
+ && subject.equals(other.subject)
&& author.equals(other.author)
&& created.equals(other.created)
&& modified.equals(other.modified)
@@ -439,6 +458,7 @@ public int hashCode() {
this.flags,
this.rect,
this.contents,
+ this.subject,
this.author,
this.created,
this.modified,
@@ -537,6 +557,12 @@ public interface _FinalStage {
_FinalStage contents(Nullable contents);
+ _FinalStage subject(Optional subject);
+
+ _FinalStage subject(String subject);
+
+ _FinalStage subject(Nullable subject);
+
_FinalStage author(Optional author);
_FinalStage author(String author);
@@ -694,6 +720,8 @@ public static final class Builder
private Optional author = Optional.empty();
+ private Optional subject = Optional.empty();
+
private Optional contents = Optional.empty();
private Optional nm = Optional.empty();
@@ -713,6 +741,7 @@ public Builder from(DocAnnotationsList200ResponseAnnotationsItemCircle other) {
flags(other.getFlags());
rect(other.getRect());
contents(other.getContents());
+ subject(other.getSubject());
author(other.getAuthor());
created(other.getCreated());
modified(other.getModified());
@@ -1128,6 +1157,31 @@ public _FinalStage author(Optional author) {
return this;
}
+ @java.lang.Override
+ public _FinalStage subject(Nullable subject) {
+ if (subject.isNull()) {
+ this.subject = null;
+ } else if (subject.isEmpty()) {
+ this.subject = Optional.empty();
+ } else {
+ this.subject = Optional.of(subject.get());
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage subject(String subject) {
+ this.subject = Optional.ofNullable(subject);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "subject", nulls = Nulls.SKIP)
+ public _FinalStage subject(Optional subject) {
+ this.subject = subject;
+ return this;
+ }
+
@java.lang.Override
public _FinalStage contents(Nullable contents) {
if (contents.isNull()) {
@@ -1189,6 +1243,7 @@ public DocAnnotationsList200ResponseAnnotationsItemCircle build() {
flags,
rect,
contents,
+ subject,
author,
created,
modified,
diff --git a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemFileAttachment.java b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemFileAttachment.java
index 598ca73..f4b63cb 100644
--- a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemFileAttachment.java
+++ b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemFileAttachment.java
@@ -41,6 +41,8 @@ public final class DocAnnotationsList200ResponseAnnotationsItemFileAttachment {
private final Optional contents;
+ private final Optional subject;
+
private final Optional author;
private final Optional created;
@@ -82,6 +84,7 @@ private DocAnnotationsList200ResponseAnnotationsItemFileAttachment(
DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags flags,
DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect rect,
Optional contents,
+ Optional subject,
Optional author,
Optional created,
Optional modified,
@@ -106,6 +109,7 @@ private DocAnnotationsList200ResponseAnnotationsItemFileAttachment(
this.flags = flags;
this.rect = rect;
this.contents = contents;
+ this.subject = subject;
this.author = author;
this.created = created;
this.modified = modified;
@@ -170,6 +174,14 @@ public Optional getContents() {
return contents;
}
+ @JsonIgnore
+ public Optional getSubject() {
+ if (subject == null) {
+ return Optional.empty();
+ }
+ return subject;
+ }
+
@JsonIgnore
public Optional getAuthor() {
if (author == null) {
@@ -272,6 +284,12 @@ private Optional _getContents() {
return contents;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("subject")
+ private Optional _getSubject() {
+ return subject;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("author")
private Optional _getAuthor() {
@@ -323,6 +341,7 @@ private boolean equalTo(DocAnnotationsList200ResponseAnnotationsItemFileAttachme
&& flags.equals(other.flags)
&& rect.equals(other.rect)
&& contents.equals(other.contents)
+ && subject.equals(other.subject)
&& author.equals(other.author)
&& created.equals(other.created)
&& modified.equals(other.modified)
@@ -351,6 +370,7 @@ public int hashCode() {
this.flags,
this.rect,
this.contents,
+ this.subject,
this.author,
this.created,
this.modified,
@@ -443,6 +463,12 @@ public interface _FinalStage {
_FinalStage contents(Nullable contents);
+ _FinalStage subject(Optional subject);
+
+ _FinalStage subject(String subject);
+
+ _FinalStage subject(Nullable subject);
+
_FinalStage author(Optional author);
_FinalStage author(String author);
@@ -552,6 +578,8 @@ public static final class Builder
private Optional author = Optional.empty();
+ private Optional subject = Optional.empty();
+
private Optional contents = Optional.empty();
private Optional nm = Optional.empty();
@@ -571,6 +599,7 @@ public Builder from(DocAnnotationsList200ResponseAnnotationsItemFileAttachment o
flags(other.getFlags());
rect(other.getRect());
contents(other.getContents());
+ subject(other.getSubject());
author(other.getAuthor());
created(other.getCreated());
modified(other.getModified());
@@ -863,6 +892,31 @@ public _FinalStage author(Optional author) {
return this;
}
+ @java.lang.Override
+ public _FinalStage subject(Nullable subject) {
+ if (subject.isNull()) {
+ this.subject = null;
+ } else if (subject.isEmpty()) {
+ this.subject = Optional.empty();
+ } else {
+ this.subject = Optional.of(subject.get());
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage subject(String subject) {
+ this.subject = Optional.ofNullable(subject);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "subject", nulls = Nulls.SKIP)
+ public _FinalStage subject(Optional subject) {
+ this.subject = subject;
+ return this;
+ }
+
@java.lang.Override
public _FinalStage contents(Nullable contents) {
if (contents.isNull()) {
@@ -924,6 +978,7 @@ public DocAnnotationsList200ResponseAnnotationsItemFileAttachment build() {
flags,
rect,
contents,
+ subject,
author,
created,
modified,
diff --git a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemFreeText.java b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemFreeText.java
index f794e06..e4d684a 100644
--- a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemFreeText.java
+++ b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemFreeText.java
@@ -42,6 +42,8 @@ public final class DocAnnotationsList200ResponseAnnotationsItemFreeText {
private final Optional contents;
+ private final Optional subject;
+
private final Optional author;
private final Optional created;
@@ -107,6 +109,7 @@ private DocAnnotationsList200ResponseAnnotationsItemFreeText(
DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags flags,
DocAnnotationsList200ResponseAnnotationsItemFreeTextRect rect,
Optional contents,
+ Optional subject,
Optional author,
Optional created,
Optional modified,
@@ -143,6 +146,7 @@ private DocAnnotationsList200ResponseAnnotationsItemFreeText(
this.flags = flags;
this.rect = rect;
this.contents = contents;
+ this.subject = subject;
this.author = author;
this.created = created;
this.modified = modified;
@@ -219,6 +223,14 @@ public Optional getContents() {
return contents;
}
+ @JsonIgnore
+ public Optional getSubject() {
+ if (subject == null) {
+ return Optional.empty();
+ }
+ return subject;
+ }
+
@JsonIgnore
public Optional getAuthor() {
if (author == null) {
@@ -387,6 +399,12 @@ private Optional _getContents() {
return contents;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("subject")
+ private Optional _getSubject() {
+ return subject;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("author")
private Optional _getAuthor() {
@@ -450,6 +468,7 @@ private boolean equalTo(DocAnnotationsList200ResponseAnnotationsItemFreeText oth
&& flags.equals(other.flags)
&& rect.equals(other.rect)
&& contents.equals(other.contents)
+ && subject.equals(other.subject)
&& author.equals(other.author)
&& created.equals(other.created)
&& modified.equals(other.modified)
@@ -490,6 +509,7 @@ public int hashCode() {
this.flags,
this.rect,
this.contents,
+ this.subject,
this.author,
this.created,
this.modified,
@@ -610,6 +630,12 @@ public interface _FinalStage {
_FinalStage contents(Nullable contents);
+ _FinalStage subject(Optional subject);
+
+ _FinalStage subject(String subject);
+
+ _FinalStage subject(Nullable subject);
+
_FinalStage author(Optional author);
_FinalStage author(String author);
@@ -790,6 +816,8 @@ public static final class Builder
private Optional author = Optional.empty();
+ private Optional subject = Optional.empty();
+
private Optional contents = Optional.empty();
private Optional nm = Optional.empty();
@@ -809,6 +837,7 @@ public Builder from(DocAnnotationsList200ResponseAnnotationsItemFreeText other)
flags(other.getFlags());
rect(other.getRect());
contents(other.getContents());
+ subject(other.getSubject());
author(other.getAuthor());
created(other.getCreated());
modified(other.getModified());
@@ -1279,6 +1308,31 @@ public _FinalStage author(Optional author) {
return this;
}
+ @java.lang.Override
+ public _FinalStage subject(Nullable subject) {
+ if (subject.isNull()) {
+ this.subject = null;
+ } else if (subject.isEmpty()) {
+ this.subject = Optional.empty();
+ } else {
+ this.subject = Optional.of(subject.get());
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage subject(String subject) {
+ this.subject = Optional.ofNullable(subject);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "subject", nulls = Nulls.SKIP)
+ public _FinalStage subject(Optional subject) {
+ this.subject = subject;
+ return this;
+ }
+
@java.lang.Override
public _FinalStage contents(Nullable contents) {
if (contents.isNull()) {
@@ -1340,6 +1394,7 @@ public DocAnnotationsList200ResponseAnnotationsItemFreeText build() {
flags,
rect,
contents,
+ subject,
author,
created,
modified,
diff --git a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemHighlight.java b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemHighlight.java
index 2bfc223..a45336c 100644
--- a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemHighlight.java
+++ b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemHighlight.java
@@ -43,6 +43,8 @@ public final class DocAnnotationsList200ResponseAnnotationsItemHighlight {
private final Optional contents;
+ private final Optional subject;
+
private final Optional author;
private final Optional created;
@@ -82,6 +84,7 @@ private DocAnnotationsList200ResponseAnnotationsItemHighlight(
DocAnnotationsList200ResponseAnnotationsItemHighlightFlags flags,
DocAnnotationsList200ResponseAnnotationsItemHighlightRect rect,
Optional contents,
+ Optional subject,
Optional author,
Optional created,
Optional modified,
@@ -105,6 +108,7 @@ private DocAnnotationsList200ResponseAnnotationsItemHighlight(
this.flags = flags;
this.rect = rect;
this.contents = contents;
+ this.subject = subject;
this.author = author;
this.created = created;
this.modified = modified;
@@ -168,6 +172,14 @@ public Optional getContents() {
return contents;
}
+ @JsonIgnore
+ public Optional getSubject() {
+ if (subject == null) {
+ return Optional.empty();
+ }
+ return subject;
+ }
+
@JsonIgnore
public Optional getAuthor() {
if (author == null) {
@@ -265,6 +277,12 @@ private Optional _getContents() {
return contents;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("subject")
+ private Optional _getSubject() {
+ return subject;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("author")
private Optional _getAuthor() {
@@ -316,6 +334,7 @@ private boolean equalTo(DocAnnotationsList200ResponseAnnotationsItemHighlight ot
&& flags.equals(other.flags)
&& rect.equals(other.rect)
&& contents.equals(other.contents)
+ && subject.equals(other.subject)
&& author.equals(other.author)
&& created.equals(other.created)
&& modified.equals(other.modified)
@@ -343,6 +362,7 @@ public int hashCode() {
this.flags,
this.rect,
this.contents,
+ this.subject,
this.author,
this.created,
this.modified,
@@ -426,6 +446,12 @@ public interface _FinalStage {
_FinalStage contents(Nullable contents);
+ _FinalStage subject(Optional subject);
+
+ _FinalStage subject(String subject);
+
+ _FinalStage subject(Nullable subject);
+
_FinalStage author(Optional author);
_FinalStage author(String author);
@@ -537,6 +563,8 @@ public static final class Builder
private Optional author = Optional.empty();
+ private Optional subject = Optional.empty();
+
private Optional contents = Optional.empty();
private Optional nm = Optional.empty();
@@ -556,6 +584,7 @@ public Builder from(DocAnnotationsList200ResponseAnnotationsItemHighlight other)
flags(other.getFlags());
rect(other.getRect());
contents(other.getContents());
+ subject(other.getSubject());
author(other.getAuthor());
created(other.getCreated());
modified(other.getModified());
@@ -858,6 +887,31 @@ public _FinalStage author(Optional author) {
return this;
}
+ @java.lang.Override
+ public _FinalStage subject(Nullable subject) {
+ if (subject.isNull()) {
+ this.subject = null;
+ } else if (subject.isEmpty()) {
+ this.subject = Optional.empty();
+ } else {
+ this.subject = Optional.of(subject.get());
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage subject(String subject) {
+ this.subject = Optional.ofNullable(subject);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "subject", nulls = Nulls.SKIP)
+ public _FinalStage subject(Optional subject) {
+ this.subject = subject;
+ return this;
+ }
+
@java.lang.Override
public _FinalStage contents(Nullable contents) {
if (contents.isNull()) {
@@ -919,6 +973,7 @@ public DocAnnotationsList200ResponseAnnotationsItemHighlight build() {
flags,
rect,
contents,
+ subject,
author,
created,
modified,
diff --git a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemInk.java b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemInk.java
index 1fb9700..36da1c0 100644
--- a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemInk.java
+++ b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemInk.java
@@ -43,6 +43,8 @@ public final class DocAnnotationsList200ResponseAnnotationsItemInk {
private final Optional contents;
+ private final Optional subject;
+
private final Optional author;
private final Optional created;
@@ -92,6 +94,7 @@ private DocAnnotationsList200ResponseAnnotationsItemInk(
DocAnnotationsList200ResponseAnnotationsItemInkFlags flags,
DocAnnotationsList200ResponseAnnotationsItemInkRect rect,
Optional contents,
+ Optional subject,
Optional author,
Optional created,
Optional modified,
@@ -120,6 +123,7 @@ private DocAnnotationsList200ResponseAnnotationsItemInk(
this.flags = flags;
this.rect = rect;
this.contents = contents;
+ this.subject = subject;
this.author = author;
this.created = created;
this.modified = modified;
@@ -188,6 +192,14 @@ public Optional getContents() {
return contents;
}
+ @JsonIgnore
+ public Optional getSubject() {
+ if (subject == null) {
+ return Optional.empty();
+ }
+ return subject;
+ }
+
@JsonIgnore
public Optional getAuthor() {
if (author == null) {
@@ -313,6 +325,12 @@ private Optional _getContents() {
return contents;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("subject")
+ private Optional _getSubject() {
+ return subject;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("author")
private Optional _getAuthor() {
@@ -370,6 +388,7 @@ private boolean equalTo(DocAnnotationsList200ResponseAnnotationsItemInk other) {
&& flags.equals(other.flags)
&& rect.equals(other.rect)
&& contents.equals(other.contents)
+ && subject.equals(other.subject)
&& author.equals(other.author)
&& created.equals(other.created)
&& modified.equals(other.modified)
@@ -402,6 +421,7 @@ public int hashCode() {
this.flags,
this.rect,
this.contents,
+ this.subject,
this.author,
this.created,
this.modified,
@@ -498,6 +518,12 @@ public interface _FinalStage {
_FinalStage contents(Nullable contents);
+ _FinalStage subject(Optional subject);
+
+ _FinalStage subject(String subject);
+
+ _FinalStage subject(Nullable subject);
+
_FinalStage author(Optional author);
_FinalStage author(String author);
@@ -633,6 +659,8 @@ public static final class Builder
private Optional author = Optional.empty();
+ private Optional subject = Optional.empty();
+
private Optional contents = Optional.empty();
private Optional nm = Optional.empty();
@@ -652,6 +680,7 @@ public Builder from(DocAnnotationsList200ResponseAnnotationsItemInk other) {
flags(other.getFlags());
rect(other.getRect());
contents(other.getContents());
+ subject(other.getSubject());
author(other.getAuthor());
created(other.getCreated());
modified(other.getModified());
@@ -1019,6 +1048,31 @@ public _FinalStage author(Optional author) {
return this;
}
+ @java.lang.Override
+ public _FinalStage subject(Nullable subject) {
+ if (subject.isNull()) {
+ this.subject = null;
+ } else if (subject.isEmpty()) {
+ this.subject = Optional.empty();
+ } else {
+ this.subject = Optional.of(subject.get());
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage subject(String subject) {
+ this.subject = Optional.ofNullable(subject);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "subject", nulls = Nulls.SKIP)
+ public _FinalStage subject(Optional subject) {
+ this.subject = subject;
+ return this;
+ }
+
@java.lang.Override
public _FinalStage contents(Nullable contents) {
if (contents.isNull()) {
@@ -1080,6 +1134,7 @@ public DocAnnotationsList200ResponseAnnotationsItemInk build() {
flags,
rect,
contents,
+ subject,
author,
created,
modified,
diff --git a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemLine.java b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemLine.java
index cb8c810..fbae6bd 100644
--- a/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemLine.java
+++ b/src/main/java/api/types/DocAnnotationsList200ResponseAnnotationsItemLine.java
@@ -42,6 +42,8 @@ public final class DocAnnotationsList200ResponseAnnotationsItemLine {
private final Optional contents;
+ private final Optional subject;
+
private final Optional author;
private final Optional created;
@@ -93,6 +95,7 @@ private DocAnnotationsList200ResponseAnnotationsItemLine(
DocAnnotationsList200ResponseAnnotationsItemLineFlags flags,
DocAnnotationsList200ResponseAnnotationsItemLineRect rect,
Optional contents,
+ Optional subject,
Optional author,
Optional created,
Optional modified,
@@ -122,6 +125,7 @@ private DocAnnotationsList200ResponseAnnotationsItemLine(
this.flags = flags;
this.rect = rect;
this.contents = contents;
+ this.subject = subject;
this.author = author;
this.created = created;
this.modified = modified;
@@ -191,6 +195,14 @@ public Optional getContents() {
return contents;
}
+ @JsonIgnore
+ public Optional getSubject() {
+ if (subject == null) {
+ return Optional.empty();
+ }
+ return subject;
+ }
+
@JsonIgnore
public Optional getAuthor() {
if (author == null) {
@@ -321,6 +333,12 @@ private Optional _getContents() {
return contents;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("subject")
+ private Optional _getSubject() {
+ return subject;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("author")
private Optional _getAuthor() {
@@ -378,6 +396,7 @@ private boolean equalTo(DocAnnotationsList200ResponseAnnotationsItemLine other)
&& flags.equals(other.flags)
&& rect.equals(other.rect)
&& contents.equals(other.contents)
+ && subject.equals(other.subject)
&& author.equals(other.author)
&& created.equals(other.created)
&& modified.equals(other.modified)
@@ -411,6 +430,7 @@ public int hashCode() {
this.flags,
this.rect,
this.contents,
+ this.subject,
this.author,
this.created,
this.modified,
@@ -516,6 +536,12 @@ public interface _FinalStage {
_FinalStage contents(Nullable contents);
+ _FinalStage subject(Optional subject);
+
+ _FinalStage subject(String subject);
+
+ _FinalStage subject(Nullable subject);
+
_FinalStage author(Optional author);
_FinalStage author(String author);
@@ -652,6 +678,8 @@ public static final class Builder
private Optional author = Optional.empty();
+ private Optional subject = Optional.empty();
+
private Optional contents = Optional.empty();
private Optional nm = Optional.empty();
@@ -671,6 +699,7 @@ public Builder from(DocAnnotationsList200ResponseAnnotationsItemLine other) {
flags(other.getFlags());
rect(other.getRect());
contents(other.getContents());
+ subject(other.getSubject());
author(other.getAuthor());
created(other.getCreated());
modified(other.getModified());
@@ -1032,6 +1061,31 @@ public _FinalStage author(Optional author) {
return this;
}
+ @java.lang.Override
+ public _FinalStage subject(Nullable subject) {
+ if (subject.isNull()) {
+ this.subject = null;
+ } else if (subject.isEmpty()) {
+ this.subject = Optional.empty();
+ } else {
+ this.subject = Optional.of(subject.get());
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage subject(String subject) {
+ this.subject = Optional.ofNullable(subject);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "subject", nulls = Nulls.SKIP)
+ public _FinalStage subject(Optional subject) {
+ this.subject = subject;
+ return this;
+ }
+
@java.lang.Override
public _FinalStage contents(Nullable