diff --git a/README.md b/README.md
index af8e6d8..8a01469 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Aspose.PDF Cloud
- API version: 3.0
-- Package version: 19.9.0
+- Package version: 19.10.0
[Aspose.PDF Cloud](https://products.aspose.cloud/pdf) is a true REST API that enables you to perform a wide range of document processing operations including creation, manipulation, conversion and rendering of PDF documents in the cloud.
@@ -37,7 +37,7 @@ Add this dependency to your project's POM:
com.aspose
aspose-cloud-pdf
- 19.9.0
+ 19.10.0
compile
```
@@ -47,7 +47,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:
```groovy
-compile "com.aspose:aspose-cloud-pdf:19.9.0"
+compile "com.aspose:aspose-cloud-pdf:19.10.0"
```
### Others
@@ -58,7 +58,7 @@ At first generate the JAR by executing:
Then manually install the following JARs:
-* target/aspose-cloud-pdf-19.9.0.jar
+* target/aspose-cloud-pdf-19.10.0.jar
* target/lib/*.jar
## Getting Started
@@ -143,6 +143,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**getBookmark**](docs/PdfApi.md#getBookmark) | **GET** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Read document bookmark.
*PdfApi* | [**getBookmarks**](docs/PdfApi.md#getBookmarks) | **GET** /pdf/\{name}/bookmarks/list/\{bookmarkPath} | Read document bookmarks node list.
*PdfApi* | [**getCaretAnnotation**](docs/PdfApi.md#getCaretAnnotation) | **GET** /pdf/\{name}/annotations/caret/\{annotationId} | Read document page caret annotation by ID.
+*PdfApi* | [**getCheckBoxField**](docs/PdfApi.md#getCheckBoxField) | **GET** /pdf/\{name}/fields/checkbox/\{fieldName} | Read document checkbox field by name.
*PdfApi* | [**getCircleAnnotation**](docs/PdfApi.md#getCircleAnnotation) | **GET** /pdf/\{name}/annotations/circle/\{annotationId} | Read document page circle annotation by ID.
*PdfApi* | [**getDiscUsage**](docs/PdfApi.md#getDiscUsage) | **GET** /pdf/storage/disc | Get disc usage
*PdfApi* | [**getDocument**](docs/PdfApi.md#getDocument) | **GET** /pdf/\{name} | Read common document info.
@@ -151,6 +152,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**getDocumentAttachments**](docs/PdfApi.md#getDocumentAttachments) | **GET** /pdf/\{name}/attachments | Read document attachments info.
*PdfApi* | [**getDocumentBookmarks**](docs/PdfApi.md#getDocumentBookmarks) | **GET** /pdf/\{name}/bookmarks/tree | Read document bookmarks tree.
*PdfApi* | [**getDocumentCaretAnnotations**](docs/PdfApi.md#getDocumentCaretAnnotations) | **GET** /pdf/\{name}/annotations/caret | Read document caret annotations.
+*PdfApi* | [**getDocumentCheckBoxFields**](docs/PdfApi.md#getDocumentCheckBoxFields) | **GET** /pdf/\{name}/fields/checkbox | Read document checkbox fields.
*PdfApi* | [**getDocumentCircleAnnotations**](docs/PdfApi.md#getDocumentCircleAnnotations) | **GET** /pdf/\{name}/annotations/circle | Read document circle annotations.
*PdfApi* | [**getDocumentFileAttachmentAnnotations**](docs/PdfApi.md#getDocumentFileAttachmentAnnotations) | **GET** /pdf/\{name}/annotations/fileattachment | Read document FileAttachment annotations.
*PdfApi* | [**getDocumentFreeTextAnnotations**](docs/PdfApi.md#getDocumentFreeTextAnnotations) | **GET** /pdf/\{name}/annotations/freetext | Read document free text annotations.
@@ -164,6 +166,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**getDocumentPopupAnnotationsByParent**](docs/PdfApi.md#getDocumentPopupAnnotationsByParent) | **GET** /pdf/\{name}/annotations/\{annotationId}/popup | Read document popup annotations by parent id.
*PdfApi* | [**getDocumentProperties**](docs/PdfApi.md#getDocumentProperties) | **GET** /pdf/\{name}/documentproperties | Read document properties.
*PdfApi* | [**getDocumentProperty**](docs/PdfApi.md#getDocumentProperty) | **GET** /pdf/\{name}/documentproperties/\{propertyName} | Read document property by name.
+*PdfApi* | [**getDocumentRadioButtonFields**](docs/PdfApi.md#getDocumentRadioButtonFields) | **GET** /pdf/\{name}/fields/radiobutton | Read document radiobutton fields.
*PdfApi* | [**getDocumentRedactionAnnotations**](docs/PdfApi.md#getDocumentRedactionAnnotations) | **GET** /pdf/\{name}/annotations/redaction | Read document redaction annotations.
*PdfApi* | [**getDocumentScreenAnnotations**](docs/PdfApi.md#getDocumentScreenAnnotations) | **GET** /pdf/\{name}/annotations/screen | Read document screen annotations.
*PdfApi* | [**getDocumentSignatureFields**](docs/PdfApi.md#getDocumentSignatureFields) | **GET** /pdf/\{name}/fields/signature | Read document signature fields.
@@ -210,6 +213,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**getPage**](docs/PdfApi.md#getPage) | **GET** /pdf/\{name}/pages/\{pageNumber} | Read document page info.
*PdfApi* | [**getPageAnnotations**](docs/PdfApi.md#getPageAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations | Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases.
*PdfApi* | [**getPageCaretAnnotations**](docs/PdfApi.md#getPageCaretAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/caret | Read document page caret annotations.
+*PdfApi* | [**getPageCheckBoxFields**](docs/PdfApi.md#getPageCheckBoxFields) | **GET** /pdf/\{name}/page/\{pageNumber}/fields/checkbox | Read document page checkbox fields.
*PdfApi* | [**getPageCircleAnnotations**](docs/PdfApi.md#getPageCircleAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/circle | Read document page circle annotations.
*PdfApi* | [**getPageConvertToBmp**](docs/PdfApi.md#getPageConvertToBmp) | **GET** /pdf/\{name}/pages/\{pageNumber}/convert/bmp | Convert document page to Bmp image and return resulting file in response.
*PdfApi* | [**getPageConvertToEmf**](docs/PdfApi.md#getPageConvertToEmf) | **GET** /pdf/\{name}/pages/\{pageNumber}/convert/emf | Convert document page to Emf image and return resulting file in response.
@@ -228,6 +232,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**getPagePolyLineAnnotations**](docs/PdfApi.md#getPagePolyLineAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/polyline | Read document page polyline annotations.
*PdfApi* | [**getPagePolygonAnnotations**](docs/PdfApi.md#getPagePolygonAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/polygon | Read document page polygon annotations.
*PdfApi* | [**getPagePopupAnnotations**](docs/PdfApi.md#getPagePopupAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/popup | Read document page popup annotations.
+*PdfApi* | [**getPageRadioButtonFields**](docs/PdfApi.md#getPageRadioButtonFields) | **GET** /pdf/\{name}/page/\{pageNumber}/fields/radiobutton | Read document page radiobutton fields.
*PdfApi* | [**getPageRedactionAnnotations**](docs/PdfApi.md#getPageRedactionAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/redaction | Read document page redaction annotations.
*PdfApi* | [**getPageScreenAnnotations**](docs/PdfApi.md#getPageScreenAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/screen | Read document page screen annotations.
*PdfApi* | [**getPageSignatureFields**](docs/PdfApi.md#getPageSignatureFields) | **GET** /pdf/\{name}/page/\{pageNumber}/fields/signature | Read document page signature fields.
@@ -261,6 +266,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**getPolygonAnnotation**](docs/PdfApi.md#getPolygonAnnotation) | **GET** /pdf/\{name}/annotations/polygon/\{annotationId} | Read document page polygon annotation by ID.
*PdfApi* | [**getPopupAnnotation**](docs/PdfApi.md#getPopupAnnotation) | **GET** /pdf/\{name}/annotations/popup/\{annotationId} | Read document page popup annotation by ID.
*PdfApi* | [**getPsInStorageToPdf**](docs/PdfApi.md#getPsInStorageToPdf) | **GET** /pdf/create/ps | Convert PS file (located on storage) to PDF format and return resulting file in response.
+*PdfApi* | [**getRadioButtonField**](docs/PdfApi.md#getRadioButtonField) | **GET** /pdf/\{name}/fields/radiobutton/\{fieldName} | Read document RadioButton field by name.
*PdfApi* | [**getRedactionAnnotation**](docs/PdfApi.md#getRedactionAnnotation) | **GET** /pdf/\{name}/annotations/redaction/\{annotationId} | Read document page redaction annotation by ID.
*PdfApi* | [**getScreenAnnotation**](docs/PdfApi.md#getScreenAnnotation) | **GET** /pdf/\{name}/annotations/screen/\{annotationId} | Read document page screen annotation by ID.
*PdfApi* | [**getScreenAnnotationData**](docs/PdfApi.md#getScreenAnnotationData) | **GET** /pdf/\{name}/annotations/screen/\{annotationId}/data | Read document page screen annotation by ID.
@@ -291,6 +297,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**postAppendDocument**](docs/PdfApi.md#postAppendDocument) | **POST** /pdf/\{name}/appendDocument | Append document to existing one.
*PdfApi* | [**postBookmark**](docs/PdfApi.md#postBookmark) | **POST** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Add document bookmarks.
*PdfApi* | [**postChangePasswordDocumentInStorage**](docs/PdfApi.md#postChangePasswordDocumentInStorage) | **POST** /pdf/\{name}/changepassword | Change document password in storage.
+*PdfApi* | [**postCheckBoxFields**](docs/PdfApi.md#postCheckBoxFields) | **POST** /pdf/\{name}/fields/checkbox | Add document checkbox fields.
*PdfApi* | [**postCreateField**](docs/PdfApi.md#postCreateField) | **POST** /pdf/\{name}/fields | Create field.
*PdfApi* | [**postDecryptDocumentInStorage**](docs/PdfApi.md#postDecryptDocumentInStorage) | **POST** /pdf/\{name}/decrypt | Decrypt document in storage.
*PdfApi* | [**postDocumentImageFooter**](docs/PdfApi.md#postDocumentImageFooter) | **POST** /pdf/\{name}/footer/image | Add document image footer.
@@ -334,6 +341,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**postPageTextStamps**](docs/PdfApi.md#postPageTextStamps) | **POST** /pdf/\{name}/pages/\{pageNumber}/stamps/text | Add document page text stamps.
*PdfApi* | [**postPageUnderlineAnnotations**](docs/PdfApi.md#postPageUnderlineAnnotations) | **POST** /pdf/\{name}/pages/\{pageNumber}/annotations/underline | Add document page underline annotations.
*PdfApi* | [**postPopupAnnotation**](docs/PdfApi.md#postPopupAnnotation) | **POST** /pdf/\{name}/annotations/\{annotationId}/popup | Add document popup annotations.
+*PdfApi* | [**postRadioButtonFields**](docs/PdfApi.md#postRadioButtonFields) | **POST** /pdf/\{name}/fields/radiobutton | Add document RadioButton fields.
*PdfApi* | [**postSignDocument**](docs/PdfApi.md#postSignDocument) | **POST** /pdf/\{name}/sign | Sign document.
*PdfApi* | [**postSignPage**](docs/PdfApi.md#postSignPage) | **POST** /pdf/\{name}/pages/\{pageNumber}/sign | Sign page.
*PdfApi* | [**postSplitDocument**](docs/PdfApi.md#postSplitDocument) | **POST** /pdf/\{name}/split | Split document to parts.
@@ -344,6 +352,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**putBookmark**](docs/PdfApi.md#putBookmark) | **PUT** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Update document bookmark.
*PdfApi* | [**putCaretAnnotation**](docs/PdfApi.md#putCaretAnnotation) | **PUT** /pdf/\{name}/annotations/caret/\{annotationId} | Replace document caret annotation
*PdfApi* | [**putChangePasswordDocument**](docs/PdfApi.md#putChangePasswordDocument) | **PUT** /pdf/changepassword | Change document password from content.
+*PdfApi* | [**putCheckBoxField**](docs/PdfApi.md#putCheckBoxField) | **PUT** /pdf/\{name}/fields/checkbox/\{fieldName} | Replace document checkbox field
*PdfApi* | [**putCircleAnnotation**](docs/PdfApi.md#putCircleAnnotation) | **PUT** /pdf/\{name}/annotations/circle/\{annotationId} | Replace document circle annotation
*PdfApi* | [**putCreateDocument**](docs/PdfApi.md#putCreateDocument) | **PUT** /pdf/\{name} | Create empty document.
*PdfApi* | [**putDecryptDocument**](docs/PdfApi.md#putDecryptDocument) | **PUT** /pdf/decrypt | Decrypt document from content.
@@ -417,6 +426,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**putPopupAnnotation**](docs/PdfApi.md#putPopupAnnotation) | **PUT** /pdf/\{name}/annotations/popup/\{annotationId} | Replace document popup annotation
*PdfApi* | [**putPrivileges**](docs/PdfApi.md#putPrivileges) | **PUT** /pdf/\{name}/privileges | Update privilege document.
*PdfApi* | [**putPsInStorageToPdf**](docs/PdfApi.md#putPsInStorageToPdf) | **PUT** /pdf/\{name}/create/ps | Convert PS file (located on storage) to PDF format and upload resulting file to storage.
+*PdfApi* | [**putRadioButtonField**](docs/PdfApi.md#putRadioButtonField) | **PUT** /pdf/\{name}/fields/radiobutton/\{fieldName} | Replace document RadioButton field
*PdfApi* | [**putRedactionAnnotation**](docs/PdfApi.md#putRedactionAnnotation) | **PUT** /pdf/\{name}/annotations/redaction/\{annotationId} | Replace document redaction annotation
*PdfApi* | [**putReplaceImage**](docs/PdfApi.md#putReplaceImage) | **PUT** /pdf/\{name}/images/\{imageId} | Replace document image.
*PdfApi* | [**putScreenAnnotation**](docs/PdfApi.md#putScreenAnnotation) | **PUT** /pdf/\{name}/annotations/screen/\{annotationId} | Replace document screen annotation
@@ -456,6 +466,7 @@ Class | Method | HTTP request | Description
- [AsposeResponse](docs/AsposeResponse.md)
- [BorderCornerStyle](docs/BorderCornerStyle.md)
- [BorderInfo](docs/BorderInfo.md)
+ - [BoxStyle](docs/BoxStyle.md)
- [CapStyle](docs/CapStyle.md)
- [CaptionPosition](docs/CaptionPosition.md)
- [CaretSymbol](docs/CaretSymbol.md)
@@ -503,6 +514,7 @@ Class | Method | HTTP request | Description
- [MergeDocuments](docs/MergeDocuments.md)
- [ObjectExist](docs/ObjectExist.md)
- [OptimizeOptions](docs/OptimizeOptions.md)
+ - [Option](docs/Option.md)
- [PageWordCount](docs/PageWordCount.md)
- [Paragraph](docs/Paragraph.md)
- [PartsEmbeddingModes](docs/PartsEmbeddingModes.md)
@@ -557,6 +569,9 @@ Class | Method | HTTP request | Description
- [CaretAnnotationResponse](docs/CaretAnnotationResponse.md)
- [CaretAnnotations](docs/CaretAnnotations.md)
- [CaretAnnotationsResponse](docs/CaretAnnotationsResponse.md)
+ - [CheckBoxFieldResponse](docs/CheckBoxFieldResponse.md)
+ - [CheckBoxFields](docs/CheckBoxFields.md)
+ - [CheckBoxFieldsResponse](docs/CheckBoxFieldsResponse.md)
- [CircleAnnotationResponse](docs/CircleAnnotationResponse.md)
- [CircleAnnotations](docs/CircleAnnotations.md)
- [CircleAnnotationsResponse](docs/CircleAnnotationsResponse.md)
@@ -611,6 +626,9 @@ Class | Method | HTTP request | Description
- [PopupAnnotationResponse](docs/PopupAnnotationResponse.md)
- [PopupAnnotations](docs/PopupAnnotations.md)
- [PopupAnnotationsResponse](docs/PopupAnnotationsResponse.md)
+ - [RadioButtonFieldResponse](docs/RadioButtonFieldResponse.md)
+ - [RadioButtonFields](docs/RadioButtonFields.md)
+ - [RadioButtonFieldsResponse](docs/RadioButtonFieldsResponse.md)
- [RedactionAnnotationResponse](docs/RedactionAnnotationResponse.md)
- [RedactionAnnotations](docs/RedactionAnnotations.md)
- [RedactionAnnotationsResponse](docs/RedactionAnnotationsResponse.md)
@@ -660,6 +678,8 @@ Class | Method | HTTP request | Description
- [UnderlineAnnotationsResponse](docs/UnderlineAnnotationsResponse.md)
- [WordCountResponse](docs/WordCountResponse.md)
- [AnnotationInfo](docs/AnnotationInfo.md)
+ - [CheckBoxField](docs/CheckBoxField.md)
+ - [ChoiceField](docs/ChoiceField.md)
- [ImageFooter](docs/ImageFooter.md)
- [ImageHeader](docs/ImageHeader.md)
- [ImageStamp](docs/ImageStamp.md)
@@ -668,6 +688,7 @@ Class | Method | HTTP request | Description
- [PageNumberStamp](docs/PageNumberStamp.md)
- [PdfPageStamp](docs/PdfPageStamp.md)
- [PopupAnnotation](docs/PopupAnnotation.md)
+ - [RadioButtonOptionField](docs/RadioButtonOptionField.md)
- [RedactionAnnotation](docs/RedactionAnnotation.md)
- [ScreenAnnotation](docs/ScreenAnnotation.md)
- [SignatureField](docs/SignatureField.md)
@@ -684,6 +705,7 @@ Class | Method | HTTP request | Description
- [LineAnnotation](docs/LineAnnotation.md)
- [PolyAnnotation](docs/PolyAnnotation.md)
- [PopupAnnotationWithParent](docs/PopupAnnotationWithParent.md)
+ - [RadioButtonField](docs/RadioButtonField.md)
- [SoundAnnotation](docs/SoundAnnotation.md)
- [SquigglyAnnotation](docs/SquigglyAnnotation.md)
- [StampAnnotation](docs/StampAnnotation.md)
diff --git a/build.gradle b/build.gradle
index db890fb..7c6a0c1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -20,7 +20,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'
group = 'com.aspose'
-version = '19.9.0'
+version = '19.10.0'
buildscript {
repositories {
@@ -71,7 +71,7 @@ dependencies {
publish {
groupId = 'com.aspose'
artifactId = 'aspose-cloud-pdf'
- publishVersion = '19.9.0'
+ publishVersion = '19.10.0'
desc = 'Aspose.PDF Cloud is a REST API for creating and editing PDF files. It can also be used to convert PDF files to different formats like DOC, HTML, XPS, TIFF and many more. Aspose.PDF Cloud gives you control: create PDFs from scratch or from HTML, XML, template, database, XPS or an image. Render PDFs to image formats such as JPEG, PNG, GIF, BMP, TIFF and many others. Aspose.PDF Cloud helps you manipulate elements of a PDF file like text, annotations, watermarks, signatures, bookmarks, stamps and so on. Its REST API also allows you to manage PDF pages by using features like merging, splitting, and inserting. Add images to a PDF file or convert PDF pages to images.'
licences = ['MIT']
website = 'https://products.aspose.cloud/pdf/cloud'
diff --git a/docs/BoxStyle.md b/docs/BoxStyle.md
new file mode 100644
index 0000000..bac8ed1
--- /dev/null
+++ b/docs/BoxStyle.md
@@ -0,0 +1,18 @@
+
+# BoxStyle
+Represents an enumeration of available BoxStyle types.
+
+## Enum
+ Name | Description
+------------ | ------------
+**Circle** | Circle style.
+**Check** | Check style.
+**Cross** | Cross style.
+**Diamond** | Diamond style.
+**Square** | Square style.
+**Star** | Star style.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/CheckBoxField.md b/docs/CheckBoxField.md
new file mode 100644
index 0000000..bac343d
--- /dev/null
+++ b/docs/CheckBoxField.md
@@ -0,0 +1,35 @@
+
+# CheckBoxField
+Provides CheckBoxField.
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**allowedStates** | **List<String>** | Returns list of allowed states. | [optional]
+**style** | [**BoxStyle**](BoxStyle.md) | Gets or sets style of check box. | [optional]
+**activeState** | **String** | Gets or sets current annotation appearance state. | [optional]
+**checked** | **Boolean** | Gets or sets state of check box. |
+**exportValue** | **String** | Gets or sets export value of CheckBox field. | [optional]
+**partialName** | **String** | Field name. | [optional]
+**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
+**value** | **String** | Field value. | [optional]
+**pageIndex** | **Integer** | Page index. |
+**height** | **Double** | Gets or sets height of the field. | [optional]
+**width** | **Double** | Gets or sets width of the field. | [optional]
+**zIndex** | **Integer** | Z index. | [optional]
+**isGroup** | **Boolean** | Is group. |
+**parent** | [**FormField**](FormField.md) | Gets field parent. | [optional]
+**isSharedField** | **Boolean** | Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page. | [optional]
+**flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the field. | [optional]
+**color** | [**Color**](Color.md) | Color of the annotation. | [optional]
+**contents** | **String** | Get the field content. | [optional]
+**margin** | [**MarginInfo**](MarginInfo.md) | Gets or sets a outer margin for paragraph (for pdf generation) | [optional]
+**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | Field highlighting mode. | [optional]
+**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the field. | [optional]
+**verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets VerticalAlignment of the field. | [optional]
+**links** | [**List<Link>**](Link.md) | Link to the document. | [optional]
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/CheckBoxFieldResponse.md b/docs/CheckBoxFieldResponse.md
new file mode 100644
index 0000000..ba1d296
--- /dev/null
+++ b/docs/CheckBoxFieldResponse.md
@@ -0,0 +1,15 @@
+
+# CheckBoxFieldResponse
+Represents response containing single checkbox field object
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**field** | [**CheckBoxField**](CheckBoxField.md) | Checkbox field object | [optional]
+**code** | **Integer** | Response status code. |
+**status** | **String** | Response status. | [optional]
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/CheckBoxFields.md b/docs/CheckBoxFields.md
new file mode 100644
index 0000000..41d180d
--- /dev/null
+++ b/docs/CheckBoxFields.md
@@ -0,0 +1,14 @@
+
+# CheckBoxFields
+Object representing a list of checkbox fields.
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**list** | [**List<CheckBoxField>**](CheckBoxField.md) | List of checkbox fields. | [optional]
+**links** | [**List<Link>**](Link.md) | Link to the document. | [optional]
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/CheckBoxFieldsResponse.md b/docs/CheckBoxFieldsResponse.md
new file mode 100644
index 0000000..e6bec85
--- /dev/null
+++ b/docs/CheckBoxFieldsResponse.md
@@ -0,0 +1,15 @@
+
+# CheckBoxFieldsResponse
+Represents response containing multiple checkbox field objects
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**fields** | [**CheckBoxFields**](CheckBoxFields.md) | Checkbox fields object | [optional]
+**code** | **Integer** | Response status code. |
+**status** | **String** | Response status. | [optional]
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ChoiceField.md b/docs/ChoiceField.md
new file mode 100644
index 0000000..83f1557
--- /dev/null
+++ b/docs/ChoiceField.md
@@ -0,0 +1,31 @@
+
+# ChoiceField
+Provides Choice field.
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**multiSelect** | **Boolean** | Gets or sets multiselection flag. | [optional]
+**partialName** | **String** | Field name. | [optional]
+**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
+**value** | **String** | Field value. | [optional]
+**pageIndex** | **Integer** | Page index. |
+**height** | **Double** | Gets or sets height of the field. | [optional]
+**width** | **Double** | Gets or sets width of the field. | [optional]
+**zIndex** | **Integer** | Z index. | [optional]
+**isGroup** | **Boolean** | Is group. |
+**parent** | [**FormField**](FormField.md) | Gets field parent. | [optional]
+**isSharedField** | **Boolean** | Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page. | [optional]
+**flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the field. | [optional]
+**color** | [**Color**](Color.md) | Color of the annotation. | [optional]
+**contents** | **String** | Get the field content. | [optional]
+**margin** | [**MarginInfo**](MarginInfo.md) | Gets or sets a outer margin for paragraph (for pdf generation) | [optional]
+**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | Field highlighting mode. | [optional]
+**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the field. | [optional]
+**verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets VerticalAlignment of the field. | [optional]
+**links** | [**List<Link>**](Link.md) | Link to the document. | [optional]
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/Option.md b/docs/Option.md
new file mode 100644
index 0000000..f62cc5d
--- /dev/null
+++ b/docs/Option.md
@@ -0,0 +1,16 @@
+
+# Option
+Provides form option.
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**value** | **String** | Gets or sets option export value. | [optional]
+**name** | **String** | Gets or sets name of option. | [optional]
+**selected** | **Boolean** | Gets or sets selected status of option. Returns true if option is selected. | [optional]
+**index** | **Integer** | Gets index of the option. | [optional]
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PdfApi.md b/docs/PdfApi.md
index 4da81f2..4381482 100644
--- a/docs/PdfApi.md
+++ b/docs/PdfApi.md
@@ -32,6 +32,7 @@ Method | HTTP request | Description
[**getBookmark**](PdfApi.md#getBookmark) | **GET** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Read document bookmark.
[**getBookmarks**](PdfApi.md#getBookmarks) | **GET** /pdf/\{name}/bookmarks/list/\{bookmarkPath} | Read document bookmarks node list.
[**getCaretAnnotation**](PdfApi.md#getCaretAnnotation) | **GET** /pdf/\{name}/annotations/caret/\{annotationId} | Read document page caret annotation by ID.
+[**getCheckBoxField**](PdfApi.md#getCheckBoxField) | **GET** /pdf/\{name}/fields/checkbox/\{fieldName} | Read document checkbox field by name.
[**getCircleAnnotation**](PdfApi.md#getCircleAnnotation) | **GET** /pdf/\{name}/annotations/circle/\{annotationId} | Read document page circle annotation by ID.
[**getDiscUsage**](PdfApi.md#getDiscUsage) | **GET** /pdf/storage/disc | Get disc usage
[**getDocument**](PdfApi.md#getDocument) | **GET** /pdf/\{name} | Read common document info.
@@ -40,6 +41,7 @@ Method | HTTP request | Description
[**getDocumentAttachments**](PdfApi.md#getDocumentAttachments) | **GET** /pdf/\{name}/attachments | Read document attachments info.
[**getDocumentBookmarks**](PdfApi.md#getDocumentBookmarks) | **GET** /pdf/\{name}/bookmarks/tree | Read document bookmarks tree.
[**getDocumentCaretAnnotations**](PdfApi.md#getDocumentCaretAnnotations) | **GET** /pdf/\{name}/annotations/caret | Read document caret annotations.
+[**getDocumentCheckBoxFields**](PdfApi.md#getDocumentCheckBoxFields) | **GET** /pdf/\{name}/fields/checkbox | Read document checkbox fields.
[**getDocumentCircleAnnotations**](PdfApi.md#getDocumentCircleAnnotations) | **GET** /pdf/\{name}/annotations/circle | Read document circle annotations.
[**getDocumentFileAttachmentAnnotations**](PdfApi.md#getDocumentFileAttachmentAnnotations) | **GET** /pdf/\{name}/annotations/fileattachment | Read document FileAttachment annotations.
[**getDocumentFreeTextAnnotations**](PdfApi.md#getDocumentFreeTextAnnotations) | **GET** /pdf/\{name}/annotations/freetext | Read document free text annotations.
@@ -53,6 +55,7 @@ Method | HTTP request | Description
[**getDocumentPopupAnnotationsByParent**](PdfApi.md#getDocumentPopupAnnotationsByParent) | **GET** /pdf/\{name}/annotations/\{annotationId}/popup | Read document popup annotations by parent id.
[**getDocumentProperties**](PdfApi.md#getDocumentProperties) | **GET** /pdf/\{name}/documentproperties | Read document properties.
[**getDocumentProperty**](PdfApi.md#getDocumentProperty) | **GET** /pdf/\{name}/documentproperties/\{propertyName} | Read document property by name.
+[**getDocumentRadioButtonFields**](PdfApi.md#getDocumentRadioButtonFields) | **GET** /pdf/\{name}/fields/radiobutton | Read document radiobutton fields.
[**getDocumentRedactionAnnotations**](PdfApi.md#getDocumentRedactionAnnotations) | **GET** /pdf/\{name}/annotations/redaction | Read document redaction annotations.
[**getDocumentScreenAnnotations**](PdfApi.md#getDocumentScreenAnnotations) | **GET** /pdf/\{name}/annotations/screen | Read document screen annotations.
[**getDocumentSignatureFields**](PdfApi.md#getDocumentSignatureFields) | **GET** /pdf/\{name}/fields/signature | Read document signature fields.
@@ -99,6 +102,7 @@ Method | HTTP request | Description
[**getPage**](PdfApi.md#getPage) | **GET** /pdf/\{name}/pages/\{pageNumber} | Read document page info.
[**getPageAnnotations**](PdfApi.md#getPageAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations | Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases.
[**getPageCaretAnnotations**](PdfApi.md#getPageCaretAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/caret | Read document page caret annotations.
+[**getPageCheckBoxFields**](PdfApi.md#getPageCheckBoxFields) | **GET** /pdf/\{name}/page/\{pageNumber}/fields/checkbox | Read document page checkbox fields.
[**getPageCircleAnnotations**](PdfApi.md#getPageCircleAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/circle | Read document page circle annotations.
[**getPageConvertToBmp**](PdfApi.md#getPageConvertToBmp) | **GET** /pdf/\{name}/pages/\{pageNumber}/convert/bmp | Convert document page to Bmp image and return resulting file in response.
[**getPageConvertToEmf**](PdfApi.md#getPageConvertToEmf) | **GET** /pdf/\{name}/pages/\{pageNumber}/convert/emf | Convert document page to Emf image and return resulting file in response.
@@ -117,6 +121,7 @@ Method | HTTP request | Description
[**getPagePolyLineAnnotations**](PdfApi.md#getPagePolyLineAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/polyline | Read document page polyline annotations.
[**getPagePolygonAnnotations**](PdfApi.md#getPagePolygonAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/polygon | Read document page polygon annotations.
[**getPagePopupAnnotations**](PdfApi.md#getPagePopupAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/popup | Read document page popup annotations.
+[**getPageRadioButtonFields**](PdfApi.md#getPageRadioButtonFields) | **GET** /pdf/\{name}/page/\{pageNumber}/fields/radiobutton | Read document page radiobutton fields.
[**getPageRedactionAnnotations**](PdfApi.md#getPageRedactionAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/redaction | Read document page redaction annotations.
[**getPageScreenAnnotations**](PdfApi.md#getPageScreenAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/screen | Read document page screen annotations.
[**getPageSignatureFields**](PdfApi.md#getPageSignatureFields) | **GET** /pdf/\{name}/page/\{pageNumber}/fields/signature | Read document page signature fields.
@@ -150,6 +155,7 @@ Method | HTTP request | Description
[**getPolygonAnnotation**](PdfApi.md#getPolygonAnnotation) | **GET** /pdf/\{name}/annotations/polygon/\{annotationId} | Read document page polygon annotation by ID.
[**getPopupAnnotation**](PdfApi.md#getPopupAnnotation) | **GET** /pdf/\{name}/annotations/popup/\{annotationId} | Read document page popup annotation by ID.
[**getPsInStorageToPdf**](PdfApi.md#getPsInStorageToPdf) | **GET** /pdf/create/ps | Convert PS file (located on storage) to PDF format and return resulting file in response.
+[**getRadioButtonField**](PdfApi.md#getRadioButtonField) | **GET** /pdf/\{name}/fields/radiobutton/\{fieldName} | Read document RadioButton field by name.
[**getRedactionAnnotation**](PdfApi.md#getRedactionAnnotation) | **GET** /pdf/\{name}/annotations/redaction/\{annotationId} | Read document page redaction annotation by ID.
[**getScreenAnnotation**](PdfApi.md#getScreenAnnotation) | **GET** /pdf/\{name}/annotations/screen/\{annotationId} | Read document page screen annotation by ID.
[**getScreenAnnotationData**](PdfApi.md#getScreenAnnotationData) | **GET** /pdf/\{name}/annotations/screen/\{annotationId}/data | Read document page screen annotation by ID.
@@ -180,6 +186,7 @@ Method | HTTP request | Description
[**postAppendDocument**](PdfApi.md#postAppendDocument) | **POST** /pdf/\{name}/appendDocument | Append document to existing one.
[**postBookmark**](PdfApi.md#postBookmark) | **POST** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Add document bookmarks.
[**postChangePasswordDocumentInStorage**](PdfApi.md#postChangePasswordDocumentInStorage) | **POST** /pdf/\{name}/changepassword | Change document password in storage.
+[**postCheckBoxFields**](PdfApi.md#postCheckBoxFields) | **POST** /pdf/\{name}/fields/checkbox | Add document checkbox fields.
[**postCreateField**](PdfApi.md#postCreateField) | **POST** /pdf/\{name}/fields | Create field.
[**postDecryptDocumentInStorage**](PdfApi.md#postDecryptDocumentInStorage) | **POST** /pdf/\{name}/decrypt | Decrypt document in storage.
[**postDocumentImageFooter**](PdfApi.md#postDocumentImageFooter) | **POST** /pdf/\{name}/footer/image | Add document image footer.
@@ -223,6 +230,7 @@ Method | HTTP request | Description
[**postPageTextStamps**](PdfApi.md#postPageTextStamps) | **POST** /pdf/\{name}/pages/\{pageNumber}/stamps/text | Add document page text stamps.
[**postPageUnderlineAnnotations**](PdfApi.md#postPageUnderlineAnnotations) | **POST** /pdf/\{name}/pages/\{pageNumber}/annotations/underline | Add document page underline annotations.
[**postPopupAnnotation**](PdfApi.md#postPopupAnnotation) | **POST** /pdf/\{name}/annotations/\{annotationId}/popup | Add document popup annotations.
+[**postRadioButtonFields**](PdfApi.md#postRadioButtonFields) | **POST** /pdf/\{name}/fields/radiobutton | Add document RadioButton fields.
[**postSignDocument**](PdfApi.md#postSignDocument) | **POST** /pdf/\{name}/sign | Sign document.
[**postSignPage**](PdfApi.md#postSignPage) | **POST** /pdf/\{name}/pages/\{pageNumber}/sign | Sign page.
[**postSplitDocument**](PdfApi.md#postSplitDocument) | **POST** /pdf/\{name}/split | Split document to parts.
@@ -233,6 +241,7 @@ Method | HTTP request | Description
[**putBookmark**](PdfApi.md#putBookmark) | **PUT** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Update document bookmark.
[**putCaretAnnotation**](PdfApi.md#putCaretAnnotation) | **PUT** /pdf/\{name}/annotations/caret/\{annotationId} | Replace document caret annotation
[**putChangePasswordDocument**](PdfApi.md#putChangePasswordDocument) | **PUT** /pdf/changepassword | Change document password from content.
+[**putCheckBoxField**](PdfApi.md#putCheckBoxField) | **PUT** /pdf/\{name}/fields/checkbox/\{fieldName} | Replace document checkbox field
[**putCircleAnnotation**](PdfApi.md#putCircleAnnotation) | **PUT** /pdf/\{name}/annotations/circle/\{annotationId} | Replace document circle annotation
[**putCreateDocument**](PdfApi.md#putCreateDocument) | **PUT** /pdf/\{name} | Create empty document.
[**putDecryptDocument**](PdfApi.md#putDecryptDocument) | **PUT** /pdf/decrypt | Decrypt document from content.
@@ -306,6 +315,7 @@ Method | HTTP request | Description
[**putPopupAnnotation**](PdfApi.md#putPopupAnnotation) | **PUT** /pdf/\{name}/annotations/popup/\{annotationId} | Replace document popup annotation
[**putPrivileges**](PdfApi.md#putPrivileges) | **PUT** /pdf/\{name}/privileges | Update privilege document.
[**putPsInStorageToPdf**](PdfApi.md#putPsInStorageToPdf) | **PUT** /pdf/\{name}/create/ps | Convert PS file (located on storage) to PDF format and upload resulting file to storage.
+[**putRadioButtonField**](PdfApi.md#putRadioButtonField) | **PUT** /pdf/\{name}/fields/radiobutton/\{fieldName} | Replace document RadioButton field
[**putRedactionAnnotation**](PdfApi.md#putRedactionAnnotation) | **PUT** /pdf/\{name}/annotations/redaction/\{annotationId} | Replace document redaction annotation
[**putReplaceImage**](PdfApi.md#putReplaceImage) | **PUT** /pdf/\{name}/images/\{imageId} | Replace document image.
[**putScreenAnnotation**](PdfApi.md#putScreenAnnotation) | **PUT** /pdf/\{name}/annotations/screen/\{annotationId} | Replace document screen annotation
@@ -993,6 +1003,30 @@ Name | Type | Description | Notes
[**CaretAnnotationResponse**](CaretAnnotationResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **getCheckBoxField**
+> CheckBoxFieldResponse getCheckBoxField(name, fieldName, storage, folder)
+
+Read document checkbox field by name.
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **name** | **String**| The document name. |
+ **fieldName** | **String**| The field name. |
+ **storage** | **String**| The document storage. | [optional]
+ **folder** | **String**| The document folder. | [optional]
+
+### Return type
+
+[**CheckBoxFieldResponse**](CheckBoxFieldResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -1177,6 +1211,29 @@ Name | Type | Description | Notes
[**CaretAnnotationsResponse**](CaretAnnotationsResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **getDocumentCheckBoxFields**
+> CheckBoxFieldsResponse getDocumentCheckBoxFields(name, storage, folder)
+
+Read document checkbox fields.
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **name** | **String**| The document name. |
+ **storage** | **String**| The document storage. | [optional]
+ **folder** | **String**| The document folder. | [optional]
+
+### Return type
+
+[**CheckBoxFieldsResponse**](CheckBoxFieldsResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -1478,6 +1535,29 @@ Name | Type | Description | Notes
[**DocumentPropertyResponse**](DocumentPropertyResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **getDocumentRadioButtonFields**
+> RadioButtonFieldsResponse getDocumentRadioButtonFields(name, storage, folder)
+
+Read document radiobutton fields.
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **name** | **String**| The document name. |
+ **storage** | **String**| The document storage. | [optional]
+ **folder** | **String**| The document folder. | [optional]
+
+### Return type
+
+[**RadioButtonFieldsResponse**](RadioButtonFieldsResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -2567,6 +2647,30 @@ Name | Type | Description | Notes
[**CaretAnnotationsResponse**](CaretAnnotationsResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **getPageCheckBoxFields**
+> CheckBoxFieldsResponse getPageCheckBoxFields(name, pageNumber, storage, folder)
+
+Read document page checkbox fields.
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **name** | **String**| The document name. |
+ **pageNumber** | **Integer**| The page number. |
+ **storage** | **String**| The document storage. | [optional]
+ **folder** | **String**| The document folder. | [optional]
+
+### Return type
+
+[**CheckBoxFieldsResponse**](CheckBoxFieldsResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -3012,6 +3116,30 @@ Name | Type | Description | Notes
[**PopupAnnotationsResponse**](PopupAnnotationsResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **getPageRadioButtonFields**
+> RadioButtonFieldsResponse getPageRadioButtonFields(name, pageNumber, storage, folder)
+
+Read document page radiobutton fields.
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **name** | **String**| The document name. |
+ **pageNumber** | **Integer**| The page number. |
+ **storage** | **String**| The document storage. | [optional]
+ **folder** | **String**| The document folder. | [optional]
+
+### Return type
+
+[**RadioButtonFieldsResponse**](RadioButtonFieldsResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -3863,6 +3991,30 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: multipart/form-data
+
+# **getRadioButtonField**
+> RadioButtonFieldResponse getRadioButtonField(name, fieldName, storage, folder)
+
+Read document RadioButton field by name.
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **name** | **String**| The document name. |
+ **fieldName** | **String**| The field name. |
+ **storage** | **String**| The document storage. | [optional]
+ **folder** | **String**| The document folder. | [optional]
+
+### Return type
+
+[**RadioButtonFieldResponse**](RadioButtonFieldResponse.md)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
# **getRedactionAnnotation**
> RedactionAnnotationResponse getRedactionAnnotation(name, annotationId, storage, folder)
@@ -4593,6 +4745,30 @@ Name | Type | Description | Notes
[**AsposeResponse**](AsposeResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **postCheckBoxFields**
+> AsposeResponse postCheckBoxFields(name, fields, storage, folder)
+
+Add document checkbox fields.
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **name** | **String**| The document name. |
+ **fields** | [**List<CheckBoxField>**](CheckBoxField.md)| The array of field. |
+ **storage** | **String**| The document storage. | [optional]
+ **folder** | **String**| The document folder. | [optional]
+
+### Return type
+
+[**AsposeResponse**](AsposeResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -5677,6 +5853,30 @@ Name | Type | Description | Notes
[**AsposeResponse**](AsposeResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **postRadioButtonFields**
+> AsposeResponse postRadioButtonFields(name, fields, storage, folder)
+
+Add document RadioButton fields.
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **name** | **String**| The document name. |
+ **fields** | [**List<RadioButtonField>**](RadioButtonField.md)| The array of field. |
+ **storage** | **String**| The document storage. | [optional]
+ **folder** | **String**| The document folder. | [optional]
+
+### Return type
+
+[**AsposeResponse**](AsposeResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -5926,6 +6126,31 @@ Name | Type | Description | Notes
[**AsposeResponse**](AsposeResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **putCheckBoxField**
+> CheckBoxFieldResponse putCheckBoxField(name, fieldName, field, storage, folder)
+
+Replace document checkbox field
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **name** | **String**| The document name. |
+ **fieldName** | **String**| The field name. |
+ **field** | [**CheckBoxField**](CheckBoxField.md)| The field. |
+ **storage** | **String**| The document storage. | [optional]
+ **folder** | **String**| The document folder. | [optional]
+
+### Return type
+
+[**CheckBoxFieldResponse**](CheckBoxFieldResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -7858,6 +8083,31 @@ Name | Type | Description | Notes
[**AsposeResponse**](AsposeResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **putRadioButtonField**
+> RadioButtonFieldResponse putRadioButtonField(name, fieldName, field, storage, folder)
+
+Replace document RadioButton field
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **name** | **String**| The document name. |
+ **fieldName** | **String**| The field name. |
+ **field** | [**RadioButtonField**](RadioButtonField.md)| The field. |
+ **storage** | **String**| The document storage. | [optional]
+ **folder** | **String**| The document folder. | [optional]
+
+### Return type
+
+[**RadioButtonFieldResponse**](RadioButtonFieldResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
diff --git a/docs/RadioButtonField.md b/docs/RadioButtonField.md
new file mode 100644
index 0000000..ec2931b
--- /dev/null
+++ b/docs/RadioButtonField.md
@@ -0,0 +1,35 @@
+
+# RadioButtonField
+Provides RadioButtonField.
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**options** | [**List<Option>**](Option.md) | Gets collection of options of the radio button. | [optional]
+**radioButtonOptionsField** | [**List<RadioButtonOptionField>**](RadioButtonOptionField.md) | Gets collection of radio button options field. | [optional]
+**style** | [**BoxStyle**](BoxStyle.md) | Style of field box. | [optional]
+**selected** | **Integer** | Gets or sets index of selected item. Numbering of items is started from 1. |
+**multiSelect** | **Boolean** | Gets or sets multiselection flag. | [optional]
+**partialName** | **String** | Field name. | [optional]
+**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
+**value** | **String** | Field value. | [optional]
+**pageIndex** | **Integer** | Page index. |
+**height** | **Double** | Gets or sets height of the field. | [optional]
+**width** | **Double** | Gets or sets width of the field. | [optional]
+**zIndex** | **Integer** | Z index. | [optional]
+**isGroup** | **Boolean** | Is group. |
+**parent** | [**FormField**](FormField.md) | Gets field parent. | [optional]
+**isSharedField** | **Boolean** | Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page. | [optional]
+**flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the field. | [optional]
+**color** | [**Color**](Color.md) | Color of the annotation. | [optional]
+**contents** | **String** | Get the field content. | [optional]
+**margin** | [**MarginInfo**](MarginInfo.md) | Gets or sets a outer margin for paragraph (for pdf generation) | [optional]
+**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | Field highlighting mode. | [optional]
+**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the field. | [optional]
+**verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets VerticalAlignment of the field. | [optional]
+**links** | [**List<Link>**](Link.md) | Link to the document. | [optional]
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/RadioButtonFieldResponse.md b/docs/RadioButtonFieldResponse.md
new file mode 100644
index 0000000..39e3615
--- /dev/null
+++ b/docs/RadioButtonFieldResponse.md
@@ -0,0 +1,15 @@
+
+# RadioButtonFieldResponse
+Represents response containing single RadioButton field object
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**field** | [**RadioButtonField**](RadioButtonField.md) | RadioButton field object | [optional]
+**code** | **Integer** | Response status code. |
+**status** | **String** | Response status. | [optional]
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/RadioButtonFields.md b/docs/RadioButtonFields.md
new file mode 100644
index 0000000..6e03b88
--- /dev/null
+++ b/docs/RadioButtonFields.md
@@ -0,0 +1,14 @@
+
+# RadioButtonFields
+Object representing a list of radiobox fields.
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**list** | [**List<RadioButtonField>**](RadioButtonField.md) | List of radiobox fields. | [optional]
+**links** | [**List<Link>**](Link.md) | Link to the document. | [optional]
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/RadioButtonFieldsResponse.md b/docs/RadioButtonFieldsResponse.md
new file mode 100644
index 0000000..c403d70
--- /dev/null
+++ b/docs/RadioButtonFieldsResponse.md
@@ -0,0 +1,15 @@
+
+# RadioButtonFieldsResponse
+Represents response containing multiple RadioButton field objects
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**fields** | [**RadioButtonFields**](RadioButtonFields.md) | Text box fields object | [optional]
+**code** | **Integer** | Response status code. |
+**status** | **String** | Response status. | [optional]
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/RadioButtonOptionField.md b/docs/RadioButtonOptionField.md
new file mode 100644
index 0000000..1fb528f
--- /dev/null
+++ b/docs/RadioButtonOptionField.md
@@ -0,0 +1,32 @@
+
+# RadioButtonOptionField
+Provides RadioButtonField.
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**optionName** | **String** | Gets or sets name of the option. | [optional]
+**style** | [**BoxStyle**](BoxStyle.md) | Style of field box. | [optional]
+**partialName** | **String** | Field name. | [optional]
+**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
+**value** | **String** | Field value. | [optional]
+**pageIndex** | **Integer** | Page index. |
+**height** | **Double** | Gets or sets height of the field. | [optional]
+**width** | **Double** | Gets or sets width of the field. | [optional]
+**zIndex** | **Integer** | Z index. | [optional]
+**isGroup** | **Boolean** | Is group. |
+**parent** | [**FormField**](FormField.md) | Gets field parent. | [optional]
+**isSharedField** | **Boolean** | Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page. | [optional]
+**flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the field. | [optional]
+**color** | [**Color**](Color.md) | Color of the annotation. | [optional]
+**contents** | **String** | Get the field content. | [optional]
+**margin** | [**MarginInfo**](MarginInfo.md) | Gets or sets a outer margin for paragraph (for pdf generation) | [optional]
+**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | Field highlighting mode. | [optional]
+**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the field. | [optional]
+**verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets VerticalAlignment of the field. | [optional]
+**links** | [**List<Link>**](Link.md) | Link to the document. | [optional]
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/pom.xml b/pom.xml
index e7f9b9e..8d7b2e0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
aspose-cloud-pdf
jar
aspose-cloud-pdf
- 19.9.0
+ 19.10.0
https://www.aspose.cloud/
Java library for communicating with the Aspose.Pdf for Cloud API
diff --git a/src/main/java/com/aspose/asposecloudpdf/ApiClient.java b/src/main/java/com/aspose/asposecloudpdf/ApiClient.java
index a6b6a0b..02d8c02 100644
--- a/src/main/java/com/aspose/asposecloudpdf/ApiClient.java
+++ b/src/main/java/com/aspose/asposecloudpdf/ApiClient.java
@@ -531,7 +531,7 @@ public String escapeString(String str) {
return str;
}
}
-
+
/**
* Escape the given string to be used as URL segment value.
*
diff --git a/src/main/java/com/aspose/asposecloudpdf/api/PdfApi.java b/src/main/java/com/aspose/asposecloudpdf/api/PdfApi.java
index c9ebead..30cc9f2 100644
--- a/src/main/java/com/aspose/asposecloudpdf/api/PdfApi.java
+++ b/src/main/java/com/aspose/asposecloudpdf/api/PdfApi.java
@@ -47,6 +47,9 @@
import com.aspose.asposecloudpdf.model.CaretAnnotation;
import com.aspose.asposecloudpdf.model.CaretAnnotationResponse;
import com.aspose.asposecloudpdf.model.CaretAnnotationsResponse;
+import com.aspose.asposecloudpdf.model.CheckBoxField;
+import com.aspose.asposecloudpdf.model.CheckBoxFieldResponse;
+import com.aspose.asposecloudpdf.model.CheckBoxFieldsResponse;
import com.aspose.asposecloudpdf.model.CircleAnnotation;
import com.aspose.asposecloudpdf.model.CircleAnnotationResponse;
import com.aspose.asposecloudpdf.model.CircleAnnotationsResponse;
@@ -108,6 +111,9 @@
import com.aspose.asposecloudpdf.model.PopupAnnotation;
import com.aspose.asposecloudpdf.model.PopupAnnotationResponse;
import com.aspose.asposecloudpdf.model.PopupAnnotationsResponse;
+import com.aspose.asposecloudpdf.model.RadioButtonField;
+import com.aspose.asposecloudpdf.model.RadioButtonFieldResponse;
+import com.aspose.asposecloudpdf.model.RadioButtonFieldsResponse;
import com.aspose.asposecloudpdf.model.RedactionAnnotation;
import com.aspose.asposecloudpdf.model.RedactionAnnotationResponse;
import com.aspose.asposecloudpdf.model.RedactionAnnotationsResponse;
@@ -4485,6 +4491,164 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
+ /**
+ * Build call for getCheckBoxField
+ * @param name The document name. (required)
+ * @param fieldName The field name. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call getCheckBoxFieldCall(String name, String fieldName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/pdf/{name}/fields/checkbox/{fieldName}"
+ .replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
+ .replaceAll("\\{" + "fieldName" + "\\}", apiClient.escapePathSegmentString(fieldName.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ if (storage != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage));
+ if (folder != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder));
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "JWT" };
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call getCheckBoxFieldValidateBeforeCall(String name, String fieldName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+
+ // verify the required parameter 'name' is set
+ if (name == null) {
+ throw new ApiException("Missing the required parameter 'name' when calling getCheckBoxField(Async)");
+ }
+
+ // verify the required parameter 'fieldName' is set
+ if (fieldName == null) {
+ throw new ApiException("Missing the required parameter 'fieldName' when calling getCheckBoxField(Async)");
+ }
+
+
+ com.squareup.okhttp.Call call = getCheckBoxFieldCall(name, fieldName, storage, folder, progressListener, progressRequestListener);
+ return call;
+
+ }
+
+ /**
+ * Read document checkbox field by name.
+ *
+ * @param name The document name. (required)
+ * @param fieldName The field name. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @return CheckBoxFieldResponse
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public CheckBoxFieldResponse getCheckBoxField(String name, String fieldName, String storage, String folder) throws ApiException {
+ try
+ {
+ ApiResponse resp = getCheckBoxFieldWithHttpInfo(name, fieldName, storage, folder);
+ return resp.getData();
+ }
+ catch (ApiException ex)
+ {
+ if (ex.getCode() == 401)
+ {
+ apiClient.requestToken();
+ ApiResponse resp = getCheckBoxFieldWithHttpInfo(name, fieldName, storage, folder);
+ return resp.getData();
+ }
+ throw ex;
+ }
+ }
+
+ /**
+ * Read document checkbox field by name.
+ *
+ * @param name The document name. (required)
+ * @param fieldName The field name. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @return ApiResponse<CheckBoxFieldResponse>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse getCheckBoxFieldWithHttpInfo(String name, String fieldName, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getCheckBoxFieldValidateBeforeCall(name, fieldName, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Read document checkbox field by name. (asynchronously)
+ *
+ * @param name The document name. (required)
+ * @param fieldName The field name. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call getCheckBoxFieldAsync(String name, String fieldName, String storage, String folder, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = getCheckBoxFieldValidateBeforeCall(name, fieldName, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
/**
* Build call for getCircleAnnotation
* @param name The document name. (required)
@@ -5673,6 +5837,154 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
+ /**
+ * Build call for getDocumentCheckBoxFields
+ * @param name The document name. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call getDocumentCheckBoxFieldsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/pdf/{name}/fields/checkbox"
+ .replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ if (storage != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage));
+ if (folder != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder));
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "JWT" };
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call getDocumentCheckBoxFieldsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+
+ // verify the required parameter 'name' is set
+ if (name == null) {
+ throw new ApiException("Missing the required parameter 'name' when calling getDocumentCheckBoxFields(Async)");
+ }
+
+
+ com.squareup.okhttp.Call call = getDocumentCheckBoxFieldsCall(name, storage, folder, progressListener, progressRequestListener);
+ return call;
+
+ }
+
+ /**
+ * Read document checkbox fields.
+ *
+ * @param name The document name. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @return CheckBoxFieldsResponse
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public CheckBoxFieldsResponse getDocumentCheckBoxFields(String name, String storage, String folder) throws ApiException {
+ try
+ {
+ ApiResponse resp = getDocumentCheckBoxFieldsWithHttpInfo(name, storage, folder);
+ return resp.getData();
+ }
+ catch (ApiException ex)
+ {
+ if (ex.getCode() == 401)
+ {
+ apiClient.requestToken();
+ ApiResponse resp = getDocumentCheckBoxFieldsWithHttpInfo(name, storage, folder);
+ return resp.getData();
+ }
+ throw ex;
+ }
+ }
+
+ /**
+ * Read document checkbox fields.
+ *
+ * @param name The document name. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @return ApiResponse<CheckBoxFieldsResponse>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse getDocumentCheckBoxFieldsWithHttpInfo(String name, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getDocumentCheckBoxFieldsValidateBeforeCall(name, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Read document checkbox fields. (asynchronously)
+ *
+ * @param name The document name. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call getDocumentCheckBoxFieldsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = getDocumentCheckBoxFieldsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
/**
* Build call for getDocumentCircleAnnotations
* @param name The document name. (required)
@@ -7617,6 +7929,154 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
+ /**
+ * Build call for getDocumentRadioButtonFields
+ * @param name The document name. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call getDocumentRadioButtonFieldsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/pdf/{name}/fields/radiobutton"
+ .replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ if (storage != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage));
+ if (folder != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder));
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "JWT" };
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call getDocumentRadioButtonFieldsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+
+ // verify the required parameter 'name' is set
+ if (name == null) {
+ throw new ApiException("Missing the required parameter 'name' when calling getDocumentRadioButtonFields(Async)");
+ }
+
+
+ com.squareup.okhttp.Call call = getDocumentRadioButtonFieldsCall(name, storage, folder, progressListener, progressRequestListener);
+ return call;
+
+ }
+
+ /**
+ * Read document radiobutton fields.
+ *
+ * @param name The document name. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @return RadioButtonFieldsResponse
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public RadioButtonFieldsResponse getDocumentRadioButtonFields(String name, String storage, String folder) throws ApiException {
+ try
+ {
+ ApiResponse resp = getDocumentRadioButtonFieldsWithHttpInfo(name, storage, folder);
+ return resp.getData();
+ }
+ catch (ApiException ex)
+ {
+ if (ex.getCode() == 401)
+ {
+ apiClient.requestToken();
+ ApiResponse resp = getDocumentRadioButtonFieldsWithHttpInfo(name, storage, folder);
+ return resp.getData();
+ }
+ throw ex;
+ }
+ }
+
+ /**
+ * Read document radiobutton fields.
+ *
+ * @param name The document name. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @return ApiResponse<RadioButtonFieldsResponse>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse getDocumentRadioButtonFieldsWithHttpInfo(String name, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getDocumentRadioButtonFieldsValidateBeforeCall(name, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Read document radiobutton fields. (asynchronously)
+ *
+ * @param name The document name. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call getDocumentRadioButtonFieldsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = getDocumentRadioButtonFieldsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
/**
* Build call for getDocumentRedactionAnnotations
* @param name The document name. (required)
@@ -14708,7 +15168,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
return call;
}
/**
- * Build call for getPageCircleAnnotations
+ * Build call for getPageCheckBoxFields
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
@@ -14718,11 +15178,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageCircleAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageCheckBoxFieldsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/circle"
+ String localVarPath = "/pdf/{name}/page/{pageNumber}/fields/checkbox"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -14766,38 +15226,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getPageCircleAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getPageCheckBoxFieldsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getPageCircleAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getPageCheckBoxFields(Async)");
}
// verify the required parameter 'pageNumber' is set
if (pageNumber == null) {
- throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageCircleAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageCheckBoxFields(Async)");
}
- com.squareup.okhttp.Call call = getPageCircleAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageCheckBoxFieldsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Read document page circle annotations.
+ * Read document page checkbox fields.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return CircleAnnotationsResponse
+ * @return CheckBoxFieldsResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public CircleAnnotationsResponse getPageCircleAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ public CheckBoxFieldsResponse getPageCheckBoxFields(String name, Integer pageNumber, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getPageCircleAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageCheckBoxFieldsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -14805,7 +15265,7 @@ public CircleAnnotationsResponse getPageCircleAnnotations(String name, Integer p
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getPageCircleAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageCheckBoxFieldsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
throw ex;
@@ -14813,23 +15273,23 @@ public CircleAnnotationsResponse getPageCircleAnnotations(String name, Integer p
}
/**
- * Read document page circle annotations.
+ * Read document page checkbox fields.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ApiResponse<CircleAnnotationsResponse>
+ * @return ApiResponse<CheckBoxFieldsResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getPageCircleAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
- com.squareup.okhttp.Call call = getPageCircleAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getPageCheckBoxFieldsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getPageCheckBoxFieldsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Read document page circle annotations. (asynchronously)
+ * Read document page checkbox fields. (asynchronously)
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -14839,7 +15299,7 @@ public ApiResponse getPageCircleAnnotationsWithHttpIn
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getPageCircleAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getPageCheckBoxFieldsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -14860,49 +15320,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getPageCircleAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = getPageCheckBoxFieldsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getPageConvertToBmp
+ * Build call for getPageCircleAnnotations
* @param name The document name. (required)
* @param pageNumber The page number. (required)
- * @param width The converted image width. (optional, default to 0)
- * @param height The converted image height. (optional, default to 0)
- * @param folder The document folder. (optional)
* @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageConvertToBmpCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageCircleAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/bmp"
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/circle"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
- if (width != null)
- localVarQueryParams.addAll(apiClient.parameterToPair("width", width));
- if (height != null)
- localVarQueryParams.addAll(apiClient.parameterToPair("height", height));
- if (folder != null)
- localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder));
if (storage != null)
localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage));
+ if (folder != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder));
Map localVarHeaderParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
- "multipart/form-data"
+ "application/json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
@@ -14930,40 +15384,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getPageConvertToBmpValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getPageCircleAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToBmp(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getPageCircleAnnotations(Async)");
}
// verify the required parameter 'pageNumber' is set
if (pageNumber == null) {
- throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToBmp(Async)");
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageCircleAnnotations(Async)");
}
- com.squareup.okhttp.Call call = getPageConvertToBmpCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageCircleAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Convert document page to Bmp image and return resulting file in response.
+ * Read document page circle annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
- * @param width The converted image width. (optional, default to 0)
- * @param height The converted image height. (optional, default to 0)
- * @param folder The document folder. (optional)
* @param storage The document storage. (optional)
- * @return File
+ * @param folder The document folder. (optional)
+ * @return CircleAnnotationsResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public File getPageConvertToBmp(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException {
+ public CircleAnnotationsResponse getPageCircleAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getPageConvertToBmpWithHttpInfo(name, pageNumber, width, height, folder, storage);
+ ApiResponse resp = getPageCircleAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -14971,7 +15423,7 @@ public File getPageConvertToBmp(String name, Integer pageNumber, Integer width,
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getPageConvertToBmpWithHttpInfo(name, pageNumber, width, height, folder, storage);
+ ApiResponse resp = getPageCircleAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
throw ex;
@@ -14979,37 +15431,33 @@ public File getPageConvertToBmp(String name, Integer pageNumber, Integer width,
}
/**
- * Convert document page to Bmp image and return resulting file in response.
+ * Read document page circle annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
- * @param width The converted image width. (optional, default to 0)
- * @param height The converted image height. (optional, default to 0)
- * @param folder The document folder. (optional)
* @param storage The document storage. (optional)
- * @return ApiResponse<File>
+ * @param folder The document folder. (optional)
+ * @return ApiResponse<CircleAnnotationsResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getPageConvertToBmpWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException {
- com.squareup.okhttp.Call call = getPageConvertToBmpValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getPageCircleAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getPageCircleAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Convert document page to Bmp image and return resulting file in response. (asynchronously)
+ * Read document page circle annotations. (asynchronously)
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
- * @param width The converted image width. (optional, default to 0)
- * @param height The converted image height. (optional, default to 0)
- * @param folder The document folder. (optional)
* @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
* @param callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getPageConvertToBmpAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getPageCircleAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -15030,13 +15478,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getPageConvertToBmpValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = getPageCircleAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getPageConvertToEmf
+ * Build call for getPageConvertToBmp
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param width The converted image width. (optional, default to 0)
@@ -15048,11 +15496,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageConvertToEmfCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageConvertToBmpCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/emf"
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/bmp"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -15100,26 +15548,26 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getPageConvertToEmfValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getPageConvertToBmpValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToEmf(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToBmp(Async)");
}
// verify the required parameter 'pageNumber' is set
if (pageNumber == null) {
- throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToEmf(Async)");
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToBmp(Async)");
}
- com.squareup.okhttp.Call call = getPageConvertToEmfCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageConvertToBmpCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener);
return call;
}
/**
- * Convert document page to Emf image and return resulting file in response.
+ * Convert document page to Bmp image and return resulting file in response.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -15130,10 +15578,10 @@ private com.squareup.okhttp.Call getPageConvertToEmfValidateBeforeCall(String na
* @return File
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public File getPageConvertToEmf(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException {
+ public File getPageConvertToBmp(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException {
try
{
- ApiResponse resp = getPageConvertToEmfWithHttpInfo(name, pageNumber, width, height, folder, storage);
+ ApiResponse resp = getPageConvertToBmpWithHttpInfo(name, pageNumber, width, height, folder, storage);
return resp.getData();
}
catch (ApiException ex)
@@ -15141,7 +15589,7 @@ public File getPageConvertToEmf(String name, Integer pageNumber, Integer width,
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getPageConvertToEmfWithHttpInfo(name, pageNumber, width, height, folder, storage);
+ ApiResponse resp = getPageConvertToBmpWithHttpInfo(name, pageNumber, width, height, folder, storage);
return resp.getData();
}
throw ex;
@@ -15149,7 +15597,7 @@ public File getPageConvertToEmf(String name, Integer pageNumber, Integer width,
}
/**
- * Convert document page to Emf image and return resulting file in response.
+ * Convert document page to Bmp image and return resulting file in response.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -15160,14 +15608,14 @@ public File getPageConvertToEmf(String name, Integer pageNumber, Integer width,
* @return ApiResponse<File>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getPageConvertToEmfWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException {
- com.squareup.okhttp.Call call = getPageConvertToEmfValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null);
+ public ApiResponse getPageConvertToBmpWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException {
+ com.squareup.okhttp.Call call = getPageConvertToBmpValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null);
Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Convert document page to Emf image and return resulting file in response. (asynchronously)
+ * Convert document page to Bmp image and return resulting file in response. (asynchronously)
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -15179,7 +15627,7 @@ public ApiResponse getPageConvertToEmfWithHttpInfo(String name, Integer pa
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getPageConvertToEmfAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getPageConvertToBmpAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -15200,13 +15648,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getPageConvertToEmfValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageConvertToBmpValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener);
Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getPageConvertToGif
+ * Build call for getPageConvertToEmf
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param width The converted image width. (optional, default to 0)
@@ -15218,11 +15666,181 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageConvertToGifCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageConvertToEmfCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/gif"
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/emf"
+ .replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
+ .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ if (width != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("width", width));
+ if (height != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("height", height));
+ if (folder != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder));
+ if (storage != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage));
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "multipart/form-data"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "JWT" };
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call getPageConvertToEmfValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+
+ // verify the required parameter 'name' is set
+ if (name == null) {
+ throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToEmf(Async)");
+ }
+
+ // verify the required parameter 'pageNumber' is set
+ if (pageNumber == null) {
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToEmf(Async)");
+ }
+
+
+ com.squareup.okhttp.Call call = getPageConvertToEmfCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener);
+ return call;
+
+ }
+
+ /**
+ * Convert document page to Emf image and return resulting file in response.
+ *
+ * @param name The document name. (required)
+ * @param pageNumber The page number. (required)
+ * @param width The converted image width. (optional, default to 0)
+ * @param height The converted image height. (optional, default to 0)
+ * @param folder The document folder. (optional)
+ * @param storage The document storage. (optional)
+ * @return File
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public File getPageConvertToEmf(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException {
+ try
+ {
+ ApiResponse resp = getPageConvertToEmfWithHttpInfo(name, pageNumber, width, height, folder, storage);
+ return resp.getData();
+ }
+ catch (ApiException ex)
+ {
+ if (ex.getCode() == 401)
+ {
+ apiClient.requestToken();
+ ApiResponse resp = getPageConvertToEmfWithHttpInfo(name, pageNumber, width, height, folder, storage);
+ return resp.getData();
+ }
+ throw ex;
+ }
+ }
+
+ /**
+ * Convert document page to Emf image and return resulting file in response.
+ *
+ * @param name The document name. (required)
+ * @param pageNumber The page number. (required)
+ * @param width The converted image width. (optional, default to 0)
+ * @param height The converted image height. (optional, default to 0)
+ * @param folder The document folder. (optional)
+ * @param storage The document storage. (optional)
+ * @return ApiResponse<File>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse getPageConvertToEmfWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException {
+ com.squareup.okhttp.Call call = getPageConvertToEmfValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Convert document page to Emf image and return resulting file in response. (asynchronously)
+ *
+ * @param name The document name. (required)
+ * @param pageNumber The page number. (required)
+ * @param width The converted image width. (optional, default to 0)
+ * @param height The converted image height. (optional, default to 0)
+ * @param folder The document folder. (optional)
+ * @param storage The document storage. (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call getPageConvertToEmfAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = getPageConvertToEmfValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for getPageConvertToGif
+ * @param name The document name. (required)
+ * @param pageNumber The page number. (required)
+ * @param width The converted image width. (optional, default to 0)
+ * @param height The converted image height. (optional, default to 0)
+ * @param folder The document folder. (optional)
+ * @param storage The document storage. (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call getPageConvertToGifCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/gif"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -17643,7 +18261,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
return call;
}
/**
- * Build call for getPageRedactionAnnotations
+ * Build call for getPageRadioButtonFields
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
@@ -17653,11 +18271,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageRedactionAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageRadioButtonFieldsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/redaction"
+ String localVarPath = "/pdf/{name}/page/{pageNumber}/fields/radiobutton"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -17701,38 +18319,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getPageRedactionAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getPageRadioButtonFieldsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getPageRedactionAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getPageRadioButtonFields(Async)");
}
// verify the required parameter 'pageNumber' is set
if (pageNumber == null) {
- throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageRedactionAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageRadioButtonFields(Async)");
}
- com.squareup.okhttp.Call call = getPageRedactionAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageRadioButtonFieldsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Read document page redaction annotations.
+ * Read document page radiobutton fields.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return RedactionAnnotationsResponse
+ * @return RadioButtonFieldsResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public RedactionAnnotationsResponse getPageRedactionAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ public RadioButtonFieldsResponse getPageRadioButtonFields(String name, Integer pageNumber, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getPageRedactionAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageRadioButtonFieldsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -17740,7 +18358,7 @@ public RedactionAnnotationsResponse getPageRedactionAnnotations(String name, Int
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getPageRedactionAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageRadioButtonFieldsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
throw ex;
@@ -17748,23 +18366,23 @@ public RedactionAnnotationsResponse getPageRedactionAnnotations(String name, Int
}
/**
- * Read document page redaction annotations.
+ * Read document page radiobutton fields.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ApiResponse<RedactionAnnotationsResponse>
+ * @return ApiResponse<RadioButtonFieldsResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getPageRedactionAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
- com.squareup.okhttp.Call call = getPageRedactionAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getPageRadioButtonFieldsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getPageRadioButtonFieldsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Read document page redaction annotations. (asynchronously)
+ * Read document page radiobutton fields. (asynchronously)
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -17774,7 +18392,7 @@ public ApiResponse getPageRedactionAnnotationsWith
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getPageRedactionAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getPageRadioButtonFieldsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -17795,13 +18413,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getPageRedactionAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = getPageRadioButtonFieldsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getPageScreenAnnotations
+ * Build call for getPageRedactionAnnotations
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
@@ -17811,11 +18429,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageScreenAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageRedactionAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/screen"
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/redaction"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -17859,38 +18477,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getPageScreenAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getPageRedactionAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getPageScreenAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getPageRedactionAnnotations(Async)");
}
// verify the required parameter 'pageNumber' is set
if (pageNumber == null) {
- throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageScreenAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageRedactionAnnotations(Async)");
}
- com.squareup.okhttp.Call call = getPageScreenAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageRedactionAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Read document page screen annotations.
+ * Read document page redaction annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ScreenAnnotationsResponse
+ * @return RedactionAnnotationsResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ScreenAnnotationsResponse getPageScreenAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ public RedactionAnnotationsResponse getPageRedactionAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getPageScreenAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageRedactionAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -17898,7 +18516,7 @@ public ScreenAnnotationsResponse getPageScreenAnnotations(String name, Integer p
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getPageScreenAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageRedactionAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
throw ex;
@@ -17906,23 +18524,23 @@ public ScreenAnnotationsResponse getPageScreenAnnotations(String name, Integer p
}
/**
- * Read document page screen annotations.
+ * Read document page redaction annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ApiResponse<ScreenAnnotationsResponse>
+ * @return ApiResponse<RedactionAnnotationsResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getPageScreenAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
- com.squareup.okhttp.Call call = getPageScreenAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getPageRedactionAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getPageRedactionAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Read document page screen annotations. (asynchronously)
+ * Read document page redaction annotations. (asynchronously)
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -17932,7 +18550,7 @@ public ApiResponse getPageScreenAnnotationsWithHttpIn
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getPageScreenAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getPageRedactionAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -17953,13 +18571,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getPageScreenAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = getPageRedactionAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getPageSignatureFields
+ * Build call for getPageScreenAnnotations
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
@@ -17969,11 +18587,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageSignatureFieldsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageScreenAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/page/{pageNumber}/fields/signature"
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/screen"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -18017,38 +18635,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getPageSignatureFieldsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getPageScreenAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getPageSignatureFields(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getPageScreenAnnotations(Async)");
}
// verify the required parameter 'pageNumber' is set
if (pageNumber == null) {
- throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSignatureFields(Async)");
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageScreenAnnotations(Async)");
}
- com.squareup.okhttp.Call call = getPageSignatureFieldsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageScreenAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Read document page signature fields.
+ * Read document page screen annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return SignatureFieldsResponse
+ * @return ScreenAnnotationsResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public SignatureFieldsResponse getPageSignatureFields(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ public ScreenAnnotationsResponse getPageScreenAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getPageSignatureFieldsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageScreenAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -18056,7 +18674,7 @@ public SignatureFieldsResponse getPageSignatureFields(String name, Integer pageN
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getPageSignatureFieldsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageScreenAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
throw ex;
@@ -18064,23 +18682,23 @@ public SignatureFieldsResponse getPageSignatureFields(String name, Integer pageN
}
/**
- * Read document page signature fields.
+ * Read document page screen annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ApiResponse<SignatureFieldsResponse>
+ * @return ApiResponse<ScreenAnnotationsResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getPageSignatureFieldsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
- com.squareup.okhttp.Call call = getPageSignatureFieldsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getPageScreenAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getPageScreenAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Read document page signature fields. (asynchronously)
+ * Read document page screen annotations. (asynchronously)
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -18090,7 +18708,7 @@ public ApiResponse getPageSignatureFieldsWithHttpInfo(S
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getPageSignatureFieldsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getPageScreenAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -18111,13 +18729,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getPageSignatureFieldsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = getPageScreenAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getPageSoundAnnotations
+ * Build call for getPageSignatureFields
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
@@ -18127,11 +18745,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageSoundAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageSignatureFieldsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/sound"
+ String localVarPath = "/pdf/{name}/page/{pageNumber}/fields/signature"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -18175,38 +18793,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getPageSoundAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getPageSignatureFieldsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getPageSoundAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getPageSignatureFields(Async)");
}
// verify the required parameter 'pageNumber' is set
if (pageNumber == null) {
- throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSoundAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSignatureFields(Async)");
}
- com.squareup.okhttp.Call call = getPageSoundAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageSignatureFieldsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Read document page sound annotations.
+ * Read document page signature fields.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return SoundAnnotationsResponse
+ * @return SignatureFieldsResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public SoundAnnotationsResponse getPageSoundAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ public SignatureFieldsResponse getPageSignatureFields(String name, Integer pageNumber, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getPageSoundAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageSignatureFieldsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -18214,7 +18832,7 @@ public SoundAnnotationsResponse getPageSoundAnnotations(String name, Integer pag
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getPageSoundAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageSignatureFieldsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
throw ex;
@@ -18222,23 +18840,23 @@ public SoundAnnotationsResponse getPageSoundAnnotations(String name, Integer pag
}
/**
- * Read document page sound annotations.
+ * Read document page signature fields.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ApiResponse<SoundAnnotationsResponse>
+ * @return ApiResponse<SignatureFieldsResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getPageSoundAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
- com.squareup.okhttp.Call call = getPageSoundAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getPageSignatureFieldsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getPageSignatureFieldsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Read document page sound annotations. (asynchronously)
+ * Read document page signature fields. (asynchronously)
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -18248,7 +18866,7 @@ public ApiResponse getPageSoundAnnotationsWithHttpInfo
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getPageSoundAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getPageSignatureFieldsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -18269,13 +18887,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getPageSoundAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = getPageSignatureFieldsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getPageSquareAnnotations
+ * Build call for getPageSoundAnnotations
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
@@ -18285,11 +18903,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageSquareAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageSoundAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/square"
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/sound"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -18333,38 +18951,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getPageSquareAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getPageSoundAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getPageSquareAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getPageSoundAnnotations(Async)");
}
// verify the required parameter 'pageNumber' is set
if (pageNumber == null) {
- throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSquareAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSoundAnnotations(Async)");
}
- com.squareup.okhttp.Call call = getPageSquareAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageSoundAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Read document page square annotations.
+ * Read document page sound annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return SquareAnnotationsResponse
+ * @return SoundAnnotationsResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public SquareAnnotationsResponse getPageSquareAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ public SoundAnnotationsResponse getPageSoundAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getPageSquareAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageSoundAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -18372,7 +18990,7 @@ public SquareAnnotationsResponse getPageSquareAnnotations(String name, Integer p
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getPageSquareAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageSoundAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
throw ex;
@@ -18380,23 +18998,23 @@ public SquareAnnotationsResponse getPageSquareAnnotations(String name, Integer p
}
/**
- * Read document page square annotations.
+ * Read document page sound annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ApiResponse<SquareAnnotationsResponse>
+ * @return ApiResponse<SoundAnnotationsResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getPageSquareAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
- com.squareup.okhttp.Call call = getPageSquareAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getPageSoundAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getPageSoundAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Read document page square annotations. (asynchronously)
+ * Read document page sound annotations. (asynchronously)
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -18406,7 +19024,7 @@ public ApiResponse getPageSquareAnnotationsWithHttpIn
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getPageSquareAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getPageSoundAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -18427,13 +19045,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getPageSquareAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = getPageSoundAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getPageSquigglyAnnotations
+ * Build call for getPageSquareAnnotations
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
@@ -18443,11 +19061,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageSquigglyAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageSquareAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/squiggly"
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/square"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -18491,38 +19109,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getPageSquigglyAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getPageSquareAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getPageSquigglyAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getPageSquareAnnotations(Async)");
}
// verify the required parameter 'pageNumber' is set
if (pageNumber == null) {
- throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSquigglyAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSquareAnnotations(Async)");
}
- com.squareup.okhttp.Call call = getPageSquigglyAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageSquareAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Read document page squiggly annotations.
+ * Read document page square annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return SquigglyAnnotationsResponse
+ * @return SquareAnnotationsResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public SquigglyAnnotationsResponse getPageSquigglyAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ public SquareAnnotationsResponse getPageSquareAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getPageSquigglyAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageSquareAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -18530,7 +19148,7 @@ public SquigglyAnnotationsResponse getPageSquigglyAnnotations(String name, Integ
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getPageSquigglyAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageSquareAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
throw ex;
@@ -18538,23 +19156,23 @@ public SquigglyAnnotationsResponse getPageSquigglyAnnotations(String name, Integ
}
/**
- * Read document page squiggly annotations.
+ * Read document page square annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ApiResponse<SquigglyAnnotationsResponse>
+ * @return ApiResponse<SquareAnnotationsResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getPageSquigglyAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
- com.squareup.okhttp.Call call = getPageSquigglyAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getPageSquareAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getPageSquareAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Read document page squiggly annotations. (asynchronously)
+ * Read document page square annotations. (asynchronously)
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -18564,7 +19182,7 @@ public ApiResponse getPageSquigglyAnnotationsWithHt
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getPageSquigglyAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getPageSquareAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -18585,13 +19203,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getPageSquigglyAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = getPageSquareAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getPageStampAnnotations
+ * Build call for getPageSquigglyAnnotations
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
@@ -18601,11 +19219,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageStampAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageSquigglyAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/stamp"
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/squiggly"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -18649,38 +19267,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getPageStampAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getPageSquigglyAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getPageStampAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getPageSquigglyAnnotations(Async)");
}
// verify the required parameter 'pageNumber' is set
if (pageNumber == null) {
- throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageStampAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSquigglyAnnotations(Async)");
}
- com.squareup.okhttp.Call call = getPageStampAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageSquigglyAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Read document page stamp annotations.
+ * Read document page squiggly annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return StampAnnotationsResponse
+ * @return SquigglyAnnotationsResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public StampAnnotationsResponse getPageStampAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ public SquigglyAnnotationsResponse getPageSquigglyAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getPageStampAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageSquigglyAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -18688,7 +19306,7 @@ public StampAnnotationsResponse getPageStampAnnotations(String name, Integer pag
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getPageStampAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageSquigglyAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
throw ex;
@@ -18696,23 +19314,23 @@ public StampAnnotationsResponse getPageStampAnnotations(String name, Integer pag
}
/**
- * Read document page stamp annotations.
+ * Read document page squiggly annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ApiResponse<StampAnnotationsResponse>
+ * @return ApiResponse<SquigglyAnnotationsResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getPageStampAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
- com.squareup.okhttp.Call call = getPageStampAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getPageSquigglyAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getPageSquigglyAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Read document page stamp annotations. (asynchronously)
+ * Read document page squiggly annotations. (asynchronously)
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -18722,7 +19340,7 @@ public ApiResponse getPageStampAnnotationsWithHttpInfo
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getPageStampAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getPageSquigglyAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -18743,13 +19361,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getPageStampAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = getPageSquigglyAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getPageStamps
+ * Build call for getPageStampAnnotations
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
@@ -18759,11 +19377,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageStampsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageStampAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/stamps"
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/stamp"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -18807,38 +19425,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getPageStampsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getPageStampAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getPageStamps(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getPageStampAnnotations(Async)");
}
// verify the required parameter 'pageNumber' is set
if (pageNumber == null) {
- throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageStamps(Async)");
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageStampAnnotations(Async)");
}
- com.squareup.okhttp.Call call = getPageStampsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageStampAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Read page document stamps.
+ * Read document page stamp annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return StampsInfoResponse
+ * @return StampAnnotationsResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public StampsInfoResponse getPageStamps(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ public StampAnnotationsResponse getPageStampAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getPageStampsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageStampAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -18846,7 +19464,7 @@ public StampsInfoResponse getPageStamps(String name, Integer pageNumber, String
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getPageStampsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageStampAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
throw ex;
@@ -18854,23 +19472,23 @@ public StampsInfoResponse getPageStamps(String name, Integer pageNumber, String
}
/**
- * Read page document stamps.
+ * Read document page stamp annotations.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ApiResponse<StampsInfoResponse>
+ * @return ApiResponse<StampAnnotationsResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getPageStampsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
- com.squareup.okhttp.Call call = getPageStampsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getPageStampAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getPageStampAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Read page document stamps. (asynchronously)
+ * Read document page stamp annotations. (asynchronously)
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -18880,7 +19498,7 @@ public ApiResponse getPageStampsWithHttpInfo(String name, In
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getPageStampsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getPageStampAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -18901,13 +19519,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getPageStampsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = getPageStampAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getPageStrikeOutAnnotations
+ * Build call for getPageStamps
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
@@ -18917,11 +19535,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageStrikeOutAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageStampsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/strikeout"
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/stamps"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -18965,38 +19583,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getPageStrikeOutAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getPageStampsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getPageStrikeOutAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getPageStamps(Async)");
}
// verify the required parameter 'pageNumber' is set
if (pageNumber == null) {
- throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageStrikeOutAnnotations(Async)");
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageStamps(Async)");
}
- com.squareup.okhttp.Call call = getPageStrikeOutAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getPageStampsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Read document page StrikeOut annotations.
+ * Read page document stamps.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return StrikeOutAnnotationsResponse
+ * @return StampsInfoResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public StrikeOutAnnotationsResponse getPageStrikeOutAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ public StampsInfoResponse getPageStamps(String name, Integer pageNumber, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getPageStrikeOutAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageStampsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -19004,7 +19622,7 @@ public StrikeOutAnnotationsResponse getPageStrikeOutAnnotations(String name, Int
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getPageStrikeOutAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ ApiResponse resp = getPageStampsWithHttpInfo(name, pageNumber, storage, folder);
return resp.getData();
}
throw ex;
@@ -19012,23 +19630,23 @@ public StrikeOutAnnotationsResponse getPageStrikeOutAnnotations(String name, Int
}
/**
- * Read document page StrikeOut annotations.
+ * Read page document stamps.
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ApiResponse<StrikeOutAnnotationsResponse>
+ * @return ApiResponse<StampsInfoResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getPageStrikeOutAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
- com.squareup.okhttp.Call call = getPageStrikeOutAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getPageStampsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getPageStampsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Read document page StrikeOut annotations. (asynchronously)
+ * Read page document stamps. (asynchronously)
*
* @param name The document name. (required)
* @param pageNumber The page number. (required)
@@ -19038,7 +19656,7 @@ public ApiResponse getPageStrikeOutAnnotationsWith
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getPageStrikeOutAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getPageStampsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -19059,27 +19677,185 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getPageStrikeOutAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = getPageStampsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getPageTables
- * @param name (required)
- * @param pageNumber (required)
- * @param storage (optional)
- * @param folder (optional)
+ * Build call for getPageStrikeOutAnnotations
+ * @param name The document name. (required)
+ * @param pageNumber The page number. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getPageTablesCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getPageStrikeOutAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/pages/{pageNumber}/tables"
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/strikeout"
+ .replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
+ .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ if (storage != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage));
+ if (folder != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder));
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "JWT" };
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call getPageStrikeOutAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+
+ // verify the required parameter 'name' is set
+ if (name == null) {
+ throw new ApiException("Missing the required parameter 'name' when calling getPageStrikeOutAnnotations(Async)");
+ }
+
+ // verify the required parameter 'pageNumber' is set
+ if (pageNumber == null) {
+ throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageStrikeOutAnnotations(Async)");
+ }
+
+
+ com.squareup.okhttp.Call call = getPageStrikeOutAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ return call;
+
+ }
+
+ /**
+ * Read document page StrikeOut annotations.
+ *
+ * @param name The document name. (required)
+ * @param pageNumber The page number. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @return StrikeOutAnnotationsResponse
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public StrikeOutAnnotationsResponse getPageStrikeOutAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ try
+ {
+ ApiResponse resp = getPageStrikeOutAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ return resp.getData();
+ }
+ catch (ApiException ex)
+ {
+ if (ex.getCode() == 401)
+ {
+ apiClient.requestToken();
+ ApiResponse resp = getPageStrikeOutAnnotationsWithHttpInfo(name, pageNumber, storage, folder);
+ return resp.getData();
+ }
+ throw ex;
+ }
+ }
+
+ /**
+ * Read document page StrikeOut annotations.
+ *
+ * @param name The document name. (required)
+ * @param pageNumber The page number. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @return ApiResponse<StrikeOutAnnotationsResponse>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse getPageStrikeOutAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getPageStrikeOutAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Read document page StrikeOut annotations. (asynchronously)
+ *
+ * @param name The document name. (required)
+ * @param pageNumber The page number. (required)
+ * @param storage The document storage. (optional)
+ * @param folder The document folder. (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call getPageStrikeOutAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = getPageStrikeOutAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for getPageTables
+ * @param name (required)
+ * @param pageNumber (required)
+ * @param storage (optional)
+ * @param folder (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call getPageTablesCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/pdf/{name}/pages/{pageNumber}/tables"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapePathSegmentString(pageNumber.toString()));
@@ -23144,9 +23920,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
return call;
}
/**
- * Build call for getRedactionAnnotation
+ * Build call for getRadioButtonField
* @param name The document name. (required)
- * @param annotationId The annotation ID. (required)
+ * @param fieldName The field name. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
* @param progressListener Progress listener
@@ -23154,13 +23930,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getRedactionAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getRadioButtonFieldCall(String name, String fieldName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/annotations/redaction/{annotationId}"
+ String localVarPath = "/pdf/{name}/fields/radiobutton/{fieldName}"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
- .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapePathSegmentString(annotationId.toString()));
+ .replaceAll("\\{" + "fieldName" + "\\}", apiClient.escapePathSegmentString(fieldName.toString()));
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -23202,38 +23978,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getRedactionAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getRadioButtonFieldValidateBeforeCall(String name, String fieldName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getRedactionAnnotation(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getRadioButtonField(Async)");
}
- // verify the required parameter 'annotationId' is set
- if (annotationId == null) {
- throw new ApiException("Missing the required parameter 'annotationId' when calling getRedactionAnnotation(Async)");
+ // verify the required parameter 'fieldName' is set
+ if (fieldName == null) {
+ throw new ApiException("Missing the required parameter 'fieldName' when calling getRadioButtonField(Async)");
}
- com.squareup.okhttp.Call call = getRedactionAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getRadioButtonFieldCall(name, fieldName, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Read document page redaction annotation by ID.
+ * Read document RadioButton field by name.
*
* @param name The document name. (required)
- * @param annotationId The annotation ID. (required)
+ * @param fieldName The field name. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return RedactionAnnotationResponse
+ * @return RadioButtonFieldResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public RedactionAnnotationResponse getRedactionAnnotation(String name, String annotationId, String storage, String folder) throws ApiException {
+ public RadioButtonFieldResponse getRadioButtonField(String name, String fieldName, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getRedactionAnnotationWithHttpInfo(name, annotationId, storage, folder);
+ ApiResponse resp = getRadioButtonFieldWithHttpInfo(name, fieldName, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -23241,7 +24017,7 @@ public RedactionAnnotationResponse getRedactionAnnotation(String name, String an
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getRedactionAnnotationWithHttpInfo(name, annotationId, storage, folder);
+ ApiResponse resp = getRadioButtonFieldWithHttpInfo(name, fieldName, storage, folder);
return resp.getData();
}
throw ex;
@@ -23249,33 +24025,33 @@ public RedactionAnnotationResponse getRedactionAnnotation(String name, String an
}
/**
- * Read document page redaction annotation by ID.
+ * Read document RadioButton field by name.
*
* @param name The document name. (required)
- * @param annotationId The annotation ID. (required)
+ * @param fieldName The field name. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ApiResponse<RedactionAnnotationResponse>
+ * @return ApiResponse<RadioButtonFieldResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getRedactionAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException {
- com.squareup.okhttp.Call call = getRedactionAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getRadioButtonFieldWithHttpInfo(String name, String fieldName, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getRadioButtonFieldValidateBeforeCall(name, fieldName, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Read document page redaction annotation by ID. (asynchronously)
+ * Read document RadioButton field by name. (asynchronously)
*
* @param name The document name. (required)
- * @param annotationId The annotation ID. (required)
+ * @param fieldName The field name. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
* @param callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call getRedactionAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call getRadioButtonFieldAsync(String name, String fieldName, String storage, String folder, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -23296,13 +24072,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = getRedactionAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = getRadioButtonFieldValidateBeforeCall(name, fieldName, storage, folder, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for getScreenAnnotation
+ * Build call for getRedactionAnnotation
* @param name The document name. (required)
* @param annotationId The annotation ID. (required)
* @param storage The document storage. (optional)
@@ -23312,11 +24088,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call getScreenAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call getRedactionAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/pdf/{name}/annotations/screen/{annotationId}"
+ String localVarPath = "/pdf/{name}/annotations/redaction/{annotationId}"
.replaceAll("\\{" + "name" + "\\}", apiClient.escapePathSegmentString(name.toString()))
.replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapePathSegmentString(annotationId.toString()));
@@ -23360,38 +24136,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call getScreenAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call getRedactionAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'name' is set
if (name == null) {
- throw new ApiException("Missing the required parameter 'name' when calling getScreenAnnotation(Async)");
+ throw new ApiException("Missing the required parameter 'name' when calling getRedactionAnnotation(Async)");
}
// verify the required parameter 'annotationId' is set
if (annotationId == null) {
- throw new ApiException("Missing the required parameter 'annotationId' when calling getScreenAnnotation(Async)");
+ throw new ApiException("Missing the required parameter 'annotationId' when calling getRedactionAnnotation(Async)");
}
- com.squareup.okhttp.Call call = getScreenAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = getRedactionAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener);
return call;
}
/**
- * Read document page screen annotation by ID.
+ * Read document page redaction annotation by ID.
*
* @param name The document name. (required)
* @param annotationId The annotation ID. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ScreenAnnotationResponse
+ * @return RedactionAnnotationResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ScreenAnnotationResponse getScreenAnnotation(String name, String annotationId, String storage, String folder) throws ApiException {
+ public RedactionAnnotationResponse getRedactionAnnotation(String name, String annotationId, String storage, String folder) throws ApiException {
try
{
- ApiResponse resp = getScreenAnnotationWithHttpInfo(name, annotationId, storage, folder);
+ ApiResponse resp = getRedactionAnnotationWithHttpInfo(name, annotationId, storage, folder);
return resp.getData();
}
catch (ApiException ex)
@@ -23399,7 +24175,7 @@ public ScreenAnnotationResponse getScreenAnnotation(String name, String annotati
if (ex.getCode() == 401)
{
apiClient.requestToken();
- ApiResponse resp = getScreenAnnotationWithHttpInfo(name, annotationId, storage, folder);
+ ApiResponse resp = getRedactionAnnotationWithHttpInfo(name, annotationId, storage, folder);
return resp.getData();
}
throw ex;
@@ -23407,23 +24183,23 @@ public ScreenAnnotationResponse getScreenAnnotation(String name, String annotati
}
/**
- * Read document page screen annotation by ID.
+ * Read document page redaction annotation by ID.
*
* @param name The document name. (required)
* @param annotationId The annotation ID. (required)
* @param storage The document storage. (optional)
* @param folder The document folder. (optional)
- * @return ApiResponse<ScreenAnnotationResponse>
+ * @return ApiResponse<RedactionAnnotationResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse getScreenAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException {
- com.squareup.okhttp.Call call = getScreenAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse getRedactionAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException {
+ com.squareup.okhttp.Call call = getRedactionAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null);
+ Type localVarReturnType = new TypeToken